/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.4.0
 * Git version: 8b4af0a
 * Options:   --bitfields --packed-struct --output test35627.c
 * Seed:      14128960759295423105
 */

#include "csmith.h"


static long __undefined;

/* --- Struct/Union Declarations --- */
#pragma pack(push)
#pragma pack(1)
struct S0 {
   uint16_t  f0;
   volatile signed f1 : 20;
   signed f2 : 26;
   volatile signed f3 : 22;
   volatile signed f4 : 5;
   int64_t  f5;
   signed f6 : 6;
   signed f7 : 8;
};
#pragma pack(pop)

/* --- GLOBAL VARIABLES --- */
static volatile int32_t g_2[8] = {0x82A1836CL,0x82A1836CL,0x82A1836CL,0x82A1836CL,0x82A1836CL,0x82A1836CL,0x82A1836CL,0x82A1836CL};
static int32_t g_3 = 0L;
static volatile int32_t g_6 = 4L;/* VOLATILE GLOBAL g_6 */
static volatile int32_t g_7 = 0x9CB61D22L;/* VOLATILE GLOBAL g_7 */
static int32_t g_8 = 0xB8561371L;
static int32_t g_9 = (-1L);
static uint8_t g_24[4][9][2] = {{{1UL,253UL},{8UL,253UL},{1UL,8UL},{0UL,0UL},{0UL,8UL},{1UL,253UL},{8UL,253UL},{1UL,8UL},{0UL,0UL}},{{0UL,8UL},{1UL,253UL},{8UL,253UL},{1UL,8UL},{0UL,0UL},{0UL,8UL},{1UL,253UL},{8UL,253UL},{1UL,8UL}},{{0UL,0UL},{8UL,1UL},{0x1BL,0UL},{1UL,0UL},{0x1BL,1UL},{8UL,8UL},{8UL,1UL},{0x1BL,0UL},{1UL,0UL}},{{0x1BL,1UL},{8UL,8UL},{8UL,1UL},{0x1BL,0UL},{1UL,0UL},{0x1BL,1UL},{8UL,8UL},{8UL,1UL},{0x1BL,0UL}}};
static uint32_t g_45[6][7][4] = {{{0x10A02D52L,0x69719EFCL,0UL,1UL},{18446744073709551611UL,0x13A861D8L,18446744073709551610UL,0x044B1310L},{18446744073709551609UL,0x077D7E7DL,0x7C93E255L,0x10A02D52L},{0xE74C19FDL,8UL,18446744073709551614UL,18446744073709551609UL},{1UL,0xE7FF2B9AL,0x80954C1BL,8UL},{0x10A02D52L,0x99275A80L,18446744073709551615UL,0UL},{0x0673EEFDL,18446744073709551611UL,18446744073709551614UL,0x1F62131AL}},{{18446744073709551615UL,0xF0819D5AL,0x0C6A332EL,18446744073709551610UL},{18446744073709551609UL,1UL,18446744073709551607UL,18446744073709551609UL},{0xDB5841ECL,0x01E83513L,0UL,0xE7FF2B9AL},{9UL,0UL,0x967AAC3BL,0x80954C1BL},{0UL,0x13A861D8L,0xF9B64A47L,0x25B78C6AL},{0xF04FECCDL,18446744073709551608UL,0x0C6A332EL,0xE7FF2B9AL},{0x477D717FL,0xD0509419L,9UL,0x0C6A332EL}},{{0x13A861D8L,1UL,7UL,1UL},{0x10A02D52L,0x5D0C5FD7L,18446744073709551606UL,0x1F62131AL},{18446744073709551614UL,0x13A861D8L,0x01E83513L,0x967AAC3BL},{0x3B720FAEL,0x99275A80L,0x7C93E255L,1UL},{0x3B720FAEL,18446744073709551614UL,0x01E83513L,18446744073709551609UL},{18446744073709551614UL,1UL,18446744073709551606UL,9UL},{0x10A02D52L,0x077D7E7DL,7UL,1UL}},{{0x13A861D8L,18446744073709551611UL,9UL,1UL},{0x477D717FL,18446744073709551615UL,0x0C6A332EL,0x01E83513L},{0xF04FECCDL,0x10A02D52L,0xF9B64A47L,18446744073709551609UL},{0UL,9UL,0x967AAC3BL,0xD0509419L},{9UL,18446744073709551615UL,0UL,18446744073709551606UL},{0xDB5841ECL,0x13A861D8L,18446744073709551607UL,1UL},{18446744073709551609UL,0xAB76A10BL,0x0C6A332EL,0x10A02D52L}},{{18446744073709551615UL,1UL,18446744073709551614UL,0x0C6A332EL},{0x0673EEFDL,0xE7FF2B9AL,18446744073709551615UL,1UL},{0x10A02D52L,0x3F870A65L,0x80954C1BL,0UL},{1UL,0x13A861D8L,18446744073709551614UL,0UL},{0xE74C19FDL,0xF0819D5AL,0x7C93E255L,1UL},{18446744073709551609UL,18446744073709551610UL,18446744073709551610UL,18446744073709551609UL},{18446744073709551611UL,0xD0509419L,0UL,18446744073709551614UL}},{{0x10A02D52L,0UL,4UL,0x25B78C6AL},{0UL,18446744073709551611UL,8UL,0x25B78C6AL},{5UL,0UL,0x0C6A332EL,18446744073709551614UL},{18446744073709551607UL,0xD0509419L,0x4885C3B3L,18446744073709551609UL},{0x13A861D8L,0x7C93E255L,0xF9695FF7L,0x0C6A332EL},{0x5618A321L,18446744073709551611UL,0x83D34546L,7UL},{18446744073709551610UL,9UL,0xE74C19FDL,0x69719EFCL}}};
static int32_t g_49[8][6] = {{0L,(-4L),0xCD19708EL,(-7L),(-7L),0xCD19708EL},{0L,0L,(-7L),(-1L),8L,(-1L)},{(-4L),0L,(-4L),0xCD19708EL,(-7L),(-7L)},{6L,(-4L),(-4L),6L,0L,(-1L)},{(-1L),6L,(-7L),6L,(-1L),0xCD19708EL},{6L,(-1L),0xCD19708EL,0xCD19708EL,(-1L),6L},{(-4L),6L,0L,(-1L),0L,6L},{0L,(-4L),0xCD19708EL,(-7L),(-7L),0xCD19708EL}};
static int32_t g_57[5][5] = {{1L,0xA8F3E709L,0xA8F3E709L,1L,0xA8F3E709L},{0x2CB0EA5CL,0x2CB0EA5CL,0x20137108L,0x2CB0EA5CL,0x2CB0EA5CL},{0xA8F3E709L,1L,0xA8F3E709L,0xA8F3E709L,1L},{0x2CB0EA5CL,0xCBDC27B9L,0xCBDC27B9L,0x2CB0EA5CL,0xCBDC27B9L},{1L,1L,(-10L),1L,1L}};
static int32_t *g_73 = &g_57[0][1];
static int32_t **g_72 = &g_73;
static int64_t g_102 = 0xD61587F353C284EELL;
static int8_t g_107 = 8L;
static uint16_t g_126[2][10][1] = {{{0x901EL},{8UL},{8UL},{0x901EL},{0x0BD0L},{0x35F3L},{0x901EL},{0x35F3L},{0x0BD0L},{0x901EL}},{{8UL},{8UL},{0x901EL},{0x0BD0L},{0x35F3L},{0x901EL},{0x35F3L},{0x0BD0L},{0x901EL},{8UL}}};
static uint32_t g_132 = 0xA75F86E7L;
static uint32_t g_142 = 18446744073709551615UL;
static int32_t g_161 = 1L;
static uint32_t g_205 = 1UL;
static uint64_t g_215 = 18446744073709551607UL;
static uint16_t g_250 = 0x8878L;
static struct S0 g_269 = {0x5053L,512,-7586,-1547,-0,1L,5,9};/* VOLATILE GLOBAL g_269 */
static struct S0 g_272 = {0xC1AAL,-939,-4945,-1826,1,0xC28517C2FF4C1165LL,2,-5};/* VOLATILE GLOBAL g_272 */
static struct S0 *g_271 = &g_272;
static int32_t g_279 = 0x5FD57864L;
static int16_t g_314 = 0xBA97L;
static const volatile uint8_t * volatile *g_317 = (void*)0;
static struct S0 g_337 = {0x094DL,-751,-7432,883,-4,0x86F1057A4757A9E3LL,6,-11};/* VOLATILE GLOBAL g_337 */
static int16_t g_350 = 0xA3C6L;
static uint64_t g_358 = 18446744073709551615UL;
static uint64_t g_360 = 18446744073709551614UL;
static uint64_t g_388 = 0xB403E005B3301B3ELL;
static struct S0 g_404 = {0x1A30L,-626,-3404,1167,-1,-9L,-1,15};/* VOLATILE GLOBAL g_404 */
static int64_t g_461 = 8L;
static uint8_t * const * const g_483[9] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static uint8_t * const * const *g_482 = &g_483[8];
static int8_t g_488[5][7][2] = {{{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)}},{{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)}},{{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)}},{{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)}},{{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)},{(-1L),(-1L)}}};
static uint32_t g_495 = 4294967295UL;
static const int64_t *g_517 = (void*)0;
static const uint32_t *g_519 = (void*)0;
static const uint32_t * const *g_518 = &g_519;
static const uint32_t g_523 = 0UL;
static const uint32_t * const *g_524 = &g_519;
static struct S0 g_541[6] = {{6UL,-830,4799,1575,-2,1L,6,-12},{6UL,-830,4799,1575,-2,1L,6,-12},{6UL,-830,4799,1575,-2,1L,6,-12},{6UL,-830,4799,1575,-2,1L,6,-12},{6UL,-830,4799,1575,-2,1L,6,-12},{6UL,-830,4799,1575,-2,1L,6,-12}};
static struct S0 g_543 = {65535UL,827,-2001,-1075,-0,0x5663404A54EF26BDLL,-1,9};/* VOLATILE GLOBAL g_543 */
static volatile uint32_t g_558 = 0x7DF14EF8L;/* VOLATILE GLOBAL g_558 */
static volatile uint32_t *g_557 = &g_558;
static volatile uint32_t **g_556 = &g_557;
static int64_t g_725[3] = {0xD5C042E3FC3E111BLL,0xD5C042E3FC3E111BLL,0xD5C042E3FC3E111BLL};
static const struct S0 g_730 = {0x11DCL,-245,-2381,-1972,0,0x9EF7450375DD0012LL,3,1};/* VOLATILE GLOBAL g_730 */
static struct S0 g_733 = {0x65DBL,501,5009,-605,-1,0xA42ADD86085F9884LL,-0,14};/* VOLATILE GLOBAL g_733 */
static uint32_t g_892 = 0xEDF495DAL;
static struct S0 g_897[10][9] = {{{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2}},{{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2}},{{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2}},{{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2}},{{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2}},{{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2}},{{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2}},{{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2}},{{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2}},{{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2},{0x3DE6L,-326,2988,-1568,4,-1L,-5,2}}};
static uint32_t *g_932 = &g_45[0][1][2];
static uint32_t **g_931 = &g_932;
static uint32_t ***g_930 = &g_931;
static uint16_t g_994 = 3UL;
static int64_t g_1003 = 0x706CCA68DEF166F7LL;
static uint64_t g_1005 = 0UL;
static int16_t g_1012 = 0xB02EL;
static int32_t *g_1068[10] = {&g_3,&g_3,&g_3,&g_49[0][4],&g_3,&g_3,&g_3,&g_3,&g_49[0][4],&g_3};
static int16_t * volatile g_1226[10] = {&g_314,&g_314,&g_314,&g_314,&g_314,&g_314,&g_314,&g_314,&g_314,&g_314};
static int16_t * volatile *g_1225 = &g_1226[3];
static uint32_t **** volatile g_1237[4][9][4] = {{{(void*)0,(void*)0,(void*)0,&g_930},{&g_930,&g_930,(void*)0,&g_930},{(void*)0,(void*)0,&g_930,(void*)0},{(void*)0,(void*)0,(void*)0,&g_930},{(void*)0,&g_930,&g_930,&g_930},{&g_930,(void*)0,&g_930,&g_930},{(void*)0,&g_930,(void*)0,(void*)0},{&g_930,&g_930,&g_930,(void*)0},{&g_930,&g_930,&g_930,&g_930}},{{(void*)0,&g_930,&g_930,(void*)0},{&g_930,(void*)0,&g_930,&g_930},{&g_930,&g_930,(void*)0,&g_930},{(void*)0,&g_930,&g_930,(void*)0},{&g_930,&g_930,&g_930,&g_930},{(void*)0,&g_930,(void*)0,&g_930},{(void*)0,(void*)0,&g_930,&g_930},{(void*)0,&g_930,(void*)0,&g_930},{&g_930,&g_930,(void*)0,(void*)0}},{{(void*)0,&g_930,&g_930,&g_930},{(void*)0,&g_930,&g_930,&g_930},{&g_930,(void*)0,&g_930,&g_930},{&g_930,(void*)0,&g_930,&g_930},{&g_930,(void*)0,&g_930,&g_930},{&g_930,&g_930,&g_930,&g_930},{&g_930,(void*)0,&g_930,&g_930},{(void*)0,(void*)0,&g_930,&g_930},{(void*)0,(void*)0,&g_930,&g_930}},{{&g_930,&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930,&g_930},{&g_930,(void*)0,&g_930,&g_930},{&g_930,(void*)0,(void*)0,&g_930},{&g_930,(void*)0,&g_930,&g_930},{&g_930,&g_930,(void*)0,&g_930},{&g_930,(void*)0,&g_930,&g_930},{&g_930,(void*)0,&g_930,&g_930},{&g_930,(void*)0,(void*)0,&g_930}}};
static uint32_t **** volatile g_1238 = &g_930;/* VOLATILE GLOBAL g_1238 */
static uint32_t **** volatile g_1239 = &g_930;/* VOLATILE GLOBAL g_1239 */
static uint32_t **** volatile g_1240[10][6] = {{&g_930,&g_930,&g_930,&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930,&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930,&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930,(void*)0,&g_930,&g_930},{&g_930,&g_930,&g_930,&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930,&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930,(void*)0,&g_930,&g_930},{&g_930,&g_930,&g_930,&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930,&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930,&g_930,&g_930,&g_930}};
static uint32_t ****g_1241 = &g_930;
static uint32_t **** volatile *g_1236[6][8][5] = {{{(void*)0,&g_1241,&g_1241,(void*)0,&g_1241},{&g_1241,(void*)0,(void*)0,&g_1241,&g_1241},{&g_1241,&g_1241,(void*)0,&g_1241,&g_1241},{&g_1241,(void*)0,(void*)0,&g_1241,&g_1241},{&g_1241,&g_1241,&g_1241,&g_1241,&g_1241},{(void*)0,&g_1241,(void*)0,&g_1241,(void*)0},{&g_1241,&g_1241,&g_1241,&g_1241,&g_1241},{&g_1241,&g_1241,&g_1241,(void*)0,(void*)0}},{{&g_1241,(void*)0,&g_1241,(void*)0,&g_1241},{&g_1241,&g_1241,&g_1241,&g_1241,(void*)0},{&g_1241,(void*)0,&g_1241,(void*)0,&g_1241},{&g_1241,&g_1241,(void*)0,(void*)0,&g_1239},{&g_1241,&g_1241,&g_1241,&g_1241,&g_1241},{&g_1241,&g_1239,(void*)0,(void*)0,&g_1241},{&g_1241,&g_1241,&g_1241,(void*)0,&g_1241},{(void*)0,(void*)0,&g_1241,(void*)0,(void*)0}},{{&g_1241,&g_1241,&g_1241,(void*)0,&g_1241},{&g_1241,&g_1241,&g_1241,&g_1241,&g_1241},{(void*)0,(void*)0,&g_1241,&g_1241,&g_1241},{&g_1241,(void*)0,(void*)0,&g_1241,&g_1241},{&g_1238,(void*)0,(void*)0,&g_1241,(void*)0},{&g_1241,&g_1241,(void*)0,&g_1241,&g_1241},{(void*)0,&g_1241,&g_1241,&g_1241,(void*)0},{&g_1241,&g_1241,(void*)0,&g_1241,&g_1241}},{{&g_1241,&g_1241,&g_1241,&g_1241,&g_1241},{(void*)0,&g_1241,&g_1241,&g_1241,&g_1241},{&g_1241,&g_1241,&g_1241,&g_1241,&g_1241},{&g_1238,&g_1241,&g_1241,(void*)0,&g_1241},{&g_1241,&g_1238,&g_1241,&g_1241,&g_1241},{(void*)0,(void*)0,&g_1241,&g_1241,&g_1241},{&g_1241,&g_1241,&g_1241,&g_1241,&g_1241},{&g_1241,&g_1241,(void*)0,&g_1241,(void*)0}},{{(void*)0,(void*)0,&g_1241,&g_1239,&g_1241},{&g_1241,&g_1241,(void*)0,(void*)0,&g_1241},{&g_1241,&g_1241,&g_1241,&g_1241,&g_1241},{(void*)0,&g_1241,&g_1241,&g_1240[2][5],&g_1237[3][3][0]},{&g_1241,&g_1241,&g_1241,&g_1241,&g_1241},{(void*)0,&g_1241,&g_1241,&g_1241,&g_1241},{(void*)0,&g_1241,&g_1241,(void*)0,&g_1241},{(void*)0,&g_1241,&g_1241,(void*)0,&g_1241}},{{&g_1241,&g_1237[3][3][0],&g_1241,&g_1241,(void*)0},{(void*)0,&g_1241,(void*)0,&g_1241,(void*)0},{&g_1241,(void*)0,&g_1241,&g_1241,&g_1241},{&g_1241,&g_1241,(void*)0,&g_1241,&g_1241},{&g_1241,&g_1241,(void*)0,&g_1241,&g_1241},{&g_1241,&g_1241,(void*)0,&g_1241,&g_1241},{&g_1241,&g_1241,&g_1241,&g_1241,&g_1237[3][3][0]},{(void*)0,&g_1241,&g_1241,&g_1241,&g_1241}}};
static int8_t g_1276[6] = {8L,8L,8L,8L,8L,8L};
static const uint32_t g_1294 = 0x8F82DCFCL;
static const uint32_t g_1296[10] = {0x57369C74L,0x889703A6L,0x57369C74L,0x889703A6L,0x57369C74L,0x889703A6L,0x57369C74L,0x889703A6L,0x57369C74L,0x889703A6L};
static uint8_t *g_1361 = &g_24[1][6][0];
static uint8_t * volatile * volatile g_1360 = &g_1361;/* VOLATILE GLOBAL g_1360 */
static uint8_t * volatile * volatile g_1362 = &g_1361;/* VOLATILE GLOBAL g_1362 */
static uint8_t * volatile * volatile *g_1359[9][4] = {{&g_1360,&g_1360,&g_1362,&g_1362},{&g_1360,&g_1360,(void*)0,&g_1360},{&g_1360,&g_1362,&g_1362,&g_1360},{&g_1362,&g_1360,&g_1362,&g_1362},{&g_1360,&g_1360,(void*)0,&g_1360},{&g_1360,&g_1362,&g_1362,&g_1360},{&g_1362,&g_1360,&g_1362,&g_1362},{&g_1360,&g_1360,(void*)0,&g_1360},{&g_1360,&g_1362,&g_1362,&g_1360}};
static uint8_t * volatile * volatile **g_1358 = &g_1359[2][2];
static uint8_t * volatile * volatile ***g_1357[8][7][4] = {{{&g_1358,(void*)0,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,(void*)0},{&g_1358,&g_1358,&g_1358,(void*)0},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358}},{{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,(void*)0},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358}},{{&g_1358,&g_1358,&g_1358,(void*)0},{&g_1358,&g_1358,&g_1358,(void*)0},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,(void*)0,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,(void*)0,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,(void*)0}},{{&g_1358,&g_1358,&g_1358,(void*)0},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,(void*)0}},{{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,(void*)0},{&g_1358,&g_1358,&g_1358,(void*)0}},{{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,(void*)0,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,(void*)0,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,(void*)0},{&g_1358,&g_1358,&g_1358,&g_1358}},{{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,(void*)0},{&g_1358,(void*)0,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358}},{{&g_1358,(void*)0,&g_1358,(void*)0},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,(void*)0},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,&g_1358,&g_1358,&g_1358},{&g_1358,(void*)0,&g_1358,&g_1358}}};
static uint8_t * const *g_1366 = (void*)0;
static uint8_t * const **g_1365 = &g_1366;
static uint8_t * const ***g_1364 = &g_1365;
static uint8_t * const ****g_1363 = &g_1364;
static const int32_t g_1410 = 0x9F52FB85L;
static uint32_t *g_1519 = (void*)0;
static uint32_t * const * const  volatile g_1518 = &g_1519;/* VOLATILE GLOBAL g_1518 */
static uint32_t * const * const  volatile * volatile g_1517 = &g_1518;/* VOLATILE GLOBAL g_1517 */
static uint32_t * const * const  volatile * volatile *g_1516 = &g_1517;
static uint16_t g_1591 = 1UL;
static uint32_t g_1624 = 0xBAF27893L;
static int32_t ***g_1646 = &g_72;
static int32_t ****g_1645 = &g_1646;
static uint16_t g_1684 = 0xDB23L;
static int16_t **g_1698 = (void*)0;
static int16_t ***g_1697 = &g_1698;
static const int32_t *g_1709 = (void*)0;
static uint8_t **g_1725 = &g_1361;
static uint8_t ***g_1724 = &g_1725;
static uint8_t ****g_1723 = &g_1724;
static struct S0 g_1836 = {0UL,-525,-2845,-1398,0,0x3752FC15D79F46FDLL,-0,11};/* VOLATILE GLOBAL g_1836 */
static const int16_t g_1907 = 0x664BL;
static const uint8_t g_1936[3] = {0x76L,0x76L,0x76L};
static const uint8_t g_1938 = 0xF1L;
static volatile int8_t g_2010[1] = {0x09L};
static volatile int8_t * volatile g_2009 = &g_2010[0];/* VOLATILE GLOBAL g_2009 */
static volatile int8_t * volatile *g_2008 = &g_2009;
static volatile int8_t * volatile **g_2007 = &g_2008;
static struct S0 g_2050[10][7] = {{{0x8FB6L,972,1108,132,1,6L,2,13},{65532UL,62,6780,-276,1,0x8B304F1BCD962F93LL,-3,-11},{1UL,414,408,1893,2,0x0660D0C570B93D6BLL,-5,13},{1UL,-421,2264,1301,-3,0L,-5,-10},{0xD8B6L,-388,6391,-206,-0,0x0C815F77FB90EFDFLL,-2,9},{1UL,-421,2264,1301,-3,0L,-5,-10},{1UL,414,408,1893,2,0x0660D0C570B93D6BLL,-5,13}},{{9UL,-889,-3831,638,-0,-1L,4,9},{9UL,-889,-3831,638,-0,-1L,4,9},{0xCEC6L,-947,3975,-492,-1,1L,2,-1},{7UL,763,5343,1173,4,7L,3,9},{0xDE38L,84,-5575,-1600,-4,0xCAA6ABB25A596DEFLL,-0,-14},{0UL,685,-7254,504,2,-7L,-3,10},{0UL,628,3098,83,-2,0x4C43DCC553FEA944LL,0,8}},{{0x8FB6L,972,1108,132,1,6L,2,13},{1UL,-421,2264,1301,-3,0L,-5,-10},{0x175EL,352,98,5,-3,0xF6E77A780BBC0977LL,7,-13},{0x175EL,352,98,5,-3,0xF6E77A780BBC0977LL,7,-13},{1UL,-421,2264,1301,-3,0L,-5,-10},{0x8FB6L,972,1108,132,1,6L,2,13},{0xD8B6L,-388,6391,-206,-0,0x0C815F77FB90EFDFLL,-2,9}},{{0x79FFL,-293,2310,1490,0,0x3E1A65742D117B57LL,-3,6},{0xCEC6L,-947,3975,-492,-1,1L,2,-1},{1UL,360,-6665,-1859,3,-1L,5,-8},{0x179DL,353,6033,1204,0,0xEDB4A25C9B65FEA0LL,7,-4},{0xDE38L,84,-5575,-1600,-4,0xCAA6ABB25A596DEFLL,-0,-14},{0xDE38L,84,-5575,-1600,-4,0xCAA6ABB25A596DEFLL,-0,-14},{0x179DL,353,6033,1204,0,0xEDB4A25C9B65FEA0LL,7,-4}},{{65530UL,143,788,-1990,4,-1L,-0,6},{0UL,280,-828,-836,-1,-1L,6,-4},{65530UL,143,788,-1990,4,-1L,-0,6},{0xABBEL,871,2454,594,-0,7L,-4,6},{0xD8B6L,-388,6391,-206,-0,0x0C815F77FB90EFDFLL,-2,9},{0UL,635,2789,1878,0,0x8654EFD0E68AC39FLL,3,-0},{0x8FB6L,972,1108,132,1,6L,2,13}},{{1UL,360,-6665,-1859,3,-1L,5,-8},{0xCEC6L,-947,3975,-492,-1,1L,2,-1},{0x79FFL,-293,2310,1490,0,0x3E1A65742D117B57LL,-3,6},{0UL,685,-7254,504,2,-7L,-3,10},{0x79FFL,-293,2310,1490,0,0x3E1A65742D117B57LL,-3,6},{0xCEC6L,-947,3975,-492,-1,1L,2,-1},{1UL,360,-6665,-1859,3,-1L,5,-8}},{{0x175EL,352,98,5,-3,0xF6E77A780BBC0977LL,7,-13},{1UL,-421,2264,1301,-3,0L,-5,-10},{0x8FB6L,972,1108,132,1,6L,2,13},{0xD8B6L,-388,6391,-206,-0,0x0C815F77FB90EFDFLL,-2,9},{65528UL,824,3778,1423,0,0x6D4EB3E5EB5CE3A6LL,3,-6},{0UL,635,2789,1878,0,0x8654EFD0E68AC39FLL,3,-0},{65528UL,824,3778,1423,0,0x6D4EB3E5EB5CE3A6LL,3,-6}},{{0xCEC6L,-947,3975,-492,-1,1L,2,-1},{9UL,-889,-3831,638,-0,-1L,4,9},{9UL,-889,-3831,638,-0,-1L,4,9},{0xCEC6L,-947,3975,-492,-1,1L,2,-1},{7UL,763,5343,1173,4,7L,3,9},{0xDE38L,84,-5575,-1600,-4,0xCAA6ABB25A596DEFLL,-0,-14},{0UL,685,-7254,504,2,-7L,-3,10}},{{1UL,414,408,1893,2,0x0660D0C570B93D6BLL,-5,13},{65532UL,62,6780,-276,1,0x8B304F1BCD962F93LL,-3,-11},{0x8FB6L,972,1108,132,1,6L,2,13},{65530UL,143,788,-1990,4,-1L,-0,6},{65530UL,143,788,-1990,4,-1L,-0,6},{0x8FB6L,972,1108,132,1,6L,2,13},{65532UL,62,6780,-276,1,0x8B304F1BCD962F93LL,-3,-11}},{{7UL,763,5343,1173,4,7L,3,9},{1UL,360,-6665,-1859,3,-1L,5,-8},{0x79FFL,-293,2310,1490,0,0x3E1A65742D117B57LL,-3,6},{65532UL,239,-3966,-858,2,0xB4A01C31E9240363LL,-6,-13},{9UL,-889,-3831,638,-0,-1L,4,9},{0UL,685,-7254,504,2,-7L,-3,10},{0UL,685,-7254,504,2,-7L,-3,10}}};
static uint32_t g_2080 = 4294967295UL;
static uint32_t g_2167 = 0UL;
static volatile int64_t g_2207[7][10] = {{0x550D2704C2F6CE27LL,4L,0x550D2704C2F6CE27LL,(-2L),(-2L),0x550D2704C2F6CE27LL,4L,0x550D2704C2F6CE27LL,(-2L),(-2L)},{0x550D2704C2F6CE27LL,4L,0x550D2704C2F6CE27LL,(-2L),(-2L),0x550D2704C2F6CE27LL,4L,0x550D2704C2F6CE27LL,(-2L),(-2L)},{0x550D2704C2F6CE27LL,4L,0x550D2704C2F6CE27LL,(-2L),(-2L),0x550D2704C2F6CE27LL,4L,0x550D2704C2F6CE27LL,(-2L),(-2L)},{0x550D2704C2F6CE27LL,4L,0x550D2704C2F6CE27LL,(-2L),(-2L),0x550D2704C2F6CE27LL,4L,0x550D2704C2F6CE27LL,(-2L),(-2L)},{0x550D2704C2F6CE27LL,4L,0x550D2704C2F6CE27LL,(-2L),(-2L),0x550D2704C2F6CE27LL,4L,0x550D2704C2F6CE27LL,0x550D2704C2F6CE27LL,0x550D2704C2F6CE27LL},{0x5E9984260BFFE825LL,0x5C20B6E1421FC0D3LL,0x5E9984260BFFE825LL,0x550D2704C2F6CE27LL,0x550D2704C2F6CE27LL,0x5E9984260BFFE825LL,0x5C20B6E1421FC0D3LL,0x5E9984260BFFE825LL,0x550D2704C2F6CE27LL,0x550D2704C2F6CE27LL},{0x5E9984260BFFE825LL,0x5C20B6E1421FC0D3LL,0x5E9984260BFFE825LL,0x550D2704C2F6CE27LL,0x550D2704C2F6CE27LL,0x5E9984260BFFE825LL,0x5C20B6E1421FC0D3LL,0x5E9984260BFFE825LL,0x550D2704C2F6CE27LL,0x550D2704C2F6CE27LL}};
static const volatile int64_t *g_2206 = &g_2207[5][7];
static const volatile int64_t * volatile *g_2205[1][8][6] = {{{&g_2206,&g_2206,&g_2206,&g_2206,&g_2206,&g_2206},{&g_2206,&g_2206,&g_2206,&g_2206,&g_2206,&g_2206},{&g_2206,&g_2206,&g_2206,&g_2206,&g_2206,&g_2206},{&g_2206,&g_2206,&g_2206,&g_2206,&g_2206,&g_2206},{&g_2206,&g_2206,&g_2206,&g_2206,&g_2206,&g_2206},{&g_2206,&g_2206,&g_2206,&g_2206,&g_2206,&g_2206},{&g_2206,&g_2206,&g_2206,&g_2206,&g_2206,&g_2206},{&g_2206,&g_2206,&g_2206,&g_2206,&g_2206,&g_2206}}};
static uint32_t g_2354 = 18446744073709551615UL;
static int16_t g_2475 = 1L;
static uint32_t **g_2546 = &g_1519;
static uint32_t ***g_2545 = &g_2546;
static uint64_t *g_2691 = &g_1005;
static uint64_t * const *g_2690[4] = {&g_2691,&g_2691,&g_2691,&g_2691};
static int16_t g_2924[10][8] = {{0x3043L,(-7L),0x2897L,(-8L),(-6L),0L,0L,(-6L)},{0x3043L,0xD17DL,0xD17DL,0x3043L,0L,(-8L),0x9534L,0xAFD3L},{3L,1L,(-8L),0x0A24L,0xD17DL,0xCB99L,0xAFD3L,0xCB99L},{3L,1L,0x9534L,1L,3L,(-8L),0x3043L,0xB6CBL},{(-8L),0xD17DL,3L,0L,0x6A05L,0L,1L,1L},{0xAFD3L,(-7L),3L,3L,(-7L),0xAFD3L,0x3043L,0x6A05L},{0x6A05L,0xCB99L,0x9534L,0xB6CBL,1L,0L,0xAFD3L,(-8L)},{0x9534L,3L,(-8L),0xB6CBL,(-8L),3L,0x9534L,0x6A05L},{(-7L),(-8L),0xD17DL,3L,0L,0x6A05L,0L,1L},{0xB6CBL,0x0A24L,0x2897L,0L,0L,0x2897L,0x0A24L,0xB6CBL}};
static uint32_t * const **g_3027 = (void*)0;
static uint32_t g_3106 = 18446744073709551614UL;
static int16_t **g_3245 = (void*)0;
static struct S0 g_3376[1] = {{0x1184L,246,214,-1214,0,-1L,-4,14}};
static struct S0 g_3377 = {0x3162L,-261,-4793,1275,1,0xBE5523FF476D7DB5LL,7,-9};/* VOLATILE GLOBAL g_3377 */
static struct S0 g_3378 = {0xA834L,-451,-5881,-1286,-4,-8L,1,3};/* VOLATILE GLOBAL g_3378 */
static struct S0 g_3379[3][8][4] = {{{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}}},{{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}}},{{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}},{{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7},{1UL,-726,6240,-1434,0,0xE5606D6CB03FA70BLL,5,7}}}};
static struct S0 g_3380[3] = {{65532UL,-628,3783,510,-0,0xB61CC46178CC6B02LL,-4,-14},{65532UL,-628,3783,510,-0,0xB61CC46178CC6B02LL,-4,-14},{65532UL,-628,3783,510,-0,0xB61CC46178CC6B02LL,-4,-14}};
static struct S0 g_3381[2] = {{0x6C78L,275,7727,-1425,-4,1L,-0,-2},{0x6C78L,275,7727,-1425,-4,1L,-0,-2}};
static struct S0 g_3382 = {0xEA96L,-170,4208,-1567,2,0xD32FB19C9BCAE0F8LL,7,-14};/* VOLATILE GLOBAL g_3382 */
static struct S0 g_3383 = {8UL,-132,-2061,1993,4,0xEFB36A1BAA918D4FLL,-4,3};/* VOLATILE GLOBAL g_3383 */
static struct S0 g_3384 = {2UL,-785,3457,1262,3,0x8F97B9577EE2664ELL,-5,-10};/* VOLATILE GLOBAL g_3384 */
static struct S0 g_3509 = {4UL,190,7960,-511,-1,2L,3,10};/* VOLATILE GLOBAL g_3509 */


/* --- FORWARD DECLARATIONS --- */
static const uint16_t  func_1(void);
static uint8_t  func_16(int16_t  p_17, uint64_t  p_18, int8_t  p_19);
static int8_t  func_28(const int32_t * p_29, int32_t * p_30, int32_t * p_31, int32_t  p_32);
static int32_t * func_35(int32_t * p_36);
static int32_t * func_37(uint8_t  p_38, int8_t  p_39, uint32_t  p_40, uint64_t  p_41, const int32_t  p_42);
static int32_t  func_60(int16_t  p_61, uint32_t * p_62, int32_t  p_63, uint32_t  p_64, uint8_t  p_65);
static uint8_t  func_66(uint16_t  p_67, int32_t ** p_68, int32_t  p_69, int32_t * p_70);
static int32_t  func_74(int32_t  p_75, int32_t ** p_76, int8_t  p_77, int32_t * p_78);
static int32_t ** func_79(uint8_t  p_80, int32_t ** p_81, int32_t * p_82, uint64_t  p_83, uint32_t  p_84);
static int32_t  func_91(int16_t  p_92, uint8_t  p_93, uint32_t  p_94);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_3 g_8 g_9 g_49 g_3381.f7
 * writes: g_3 g_8 g_9
 */
static const uint16_t  func_1(void)
{ /* block id: 0 */
    int32_t l_20 = (-5L);
    int32_t *l_3529 = &g_49[2][1];
    uint32_t l_3535 = 18446744073709551615UL;
    for (g_3 = (-25); (g_3 <= (-14)); g_3++)
    { /* block id: 3 */
        uint32_t l_3517[2][4][3] = {{{4294967295UL,0xC6C56657L,0xC6C56657L},{0xE2E9ACFEL,4294967293UL,0x821AEBA6L},{4294967295UL,0x0C5E090DL,4294967295UL},{3UL,0xE2E9ACFEL,0x821AEBA6L}},{{4294967294UL,4294967294UL,0xC6C56657L},{0x84D2AAB2L,0xE2E9ACFEL,0xE2E9ACFEL},{0xC6C56657L,0x0C5E090DL,0x959AB8CAL},{0x84D2AAB2L,4294967293UL,0x84D2AAB2L}}};
        uint8_t *l_3533 = &g_24[2][2][1];
        int i, j, k;
        for (g_8 = 7; (g_8 >= 0); g_8 -= 1)
        { /* block id: 6 */
            int32_t l_3510[4][2][4] = {{{(-1L),0x3296EB68L,0x3296EB68L,(-1L)},{0x3296EB68L,(-1L),0x3296EB68L,0x3296EB68L}},{{(-1L),(-1L),1L,(-1L)},{(-1L),0x3296EB68L,0x3296EB68L,(-1L)}},{{0x3296EB68L,(-1L),0x3296EB68L,0x3296EB68L},{(-1L),(-1L),1L,(-1L)}},{{(-1L),0x3296EB68L,0x3296EB68L,(-1L)},{0x3296EB68L,(-1L),0x3296EB68L,0x3296EB68L}}};
            int32_t *l_3528[4] = {&g_8,&g_8,&g_8,&g_8};
            int i, j, k;
            for (g_9 = 7; (g_9 >= 2); g_9 -= 1)
            { /* block id: 9 */
                int32_t l_23 = 0xE56E31BBL;
                int i;
            }
        }
        if ((*l_3529))
            break;
        if (l_3535)
            break;
        return g_3381[0].f7;
    }
    return (*l_3529);
}


/* ------------------------------------------ */
/* 
 * reads : g_1646 g_72 g_73 g_57 g_314 g_488 g_1645 g_897.f5 g_404.f2 g_49 g_931 g_932 g_45 g_272.f0 g_495 g_541.f0 g_1276 g_994 g_1241 g_930 g_2050.f0 g_337.f0 g_897.f2 g_2080 g_2545 g_2546 g_2690 g_543.f6 g_205 g_543.f5 g_1361 g_24 g_461 g_2475 g_482 g_483 g_2691 g_1005 g_1410 g_102 g_1725 g_1724 g_1294 g_3 g_9 g_107 g_1624 g_269.f5 g_161 g_272.f5 g_1296 g_358 g_1836.f6 g_1836.f0 g_3027 g_543.f0 g_337.f7 g_279 g_2050.f5 g_1836.f2 g_271 g_404.f5 g_1723 g_3379.f7 g_3377.f2 g_892 g_3106 g_3383.f5
 * writes: g_57 g_314 g_73 g_45 g_1645 g_49 g_272.f0 g_1519 g_994 g_102 g_2546 g_205 g_495 g_271 g_1836.f5 g_488 g_24 g_107 g_1624 g_269.f5 g_272.f5 g_1005 g_1276 g_892 g_3027 g_543.f0 g_2080 g_404.f5 g_541.f5 g_1646 g_126 g_931 g_3378.f0
 */
static uint8_t  func_16(int16_t  p_17, uint64_t  p_18, int8_t  p_19)
{ /* block id: 10 */
    uint64_t l_27 = 0x83644BB323FA9DFELL;
    int32_t l_2386[6] = {2L,0x4DF7560CL,0x4DF7560CL,2L,0x4DF7560CL,0x4DF7560CL};
    int32_t l_2400 = 0x35FBDE6BL;
    uint16_t l_2408[5][10][5];
    uint64_t l_2443[8] = {0xA42EA006A98C3A48LL,0xA42EA006A98C3A48LL,0xA42EA006A98C3A48LL,0xA42EA006A98C3A48LL,0xA42EA006A98C3A48LL,0xA42EA006A98C3A48LL,0xA42EA006A98C3A48LL,0xA42EA006A98C3A48LL};
    int16_t *l_2448 = &g_314;
    int16_t **l_2447 = &l_2448;
    int32_t l_2468 = (-6L);
    uint16_t l_2469 = 1UL;
    uint32_t **l_2542 = &g_1519;
    uint32_t ***l_2541[7][6][2] = {{{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542}},{{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542}},{{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542}},{{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542}},{{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542}},{{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542}},{{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542},{&l_2542,&l_2542}}};
    uint32_t ****l_2540 = &l_2541[5][2][0];
    const uint32_t l_2547 = 0x8A925B99L;
    uint32_t ***l_2589 = &g_931;
    int32_t ** const **l_2672 = (void*)0;
    uint64_t l_2717 = 0xD2DE29F0C8C7ECD9LL;
    uint16_t l_2742[8][1] = {{1UL},{0xED1AL},{1UL},{0xED1AL},{1UL},{0xED1AL},{1UL},{0xED1AL}};
    const int64_t l_2782 = 0xD4DB0FDB1C19E7FCLL;
    int8_t l_2817 = (-9L);
    uint64_t **l_2867[10][5][5] = {{{&g_2691,&g_2691,&g_2691,&g_2691,(void*)0},{(void*)0,&g_2691,&g_2691,(void*)0,&g_2691},{&g_2691,(void*)0,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{(void*)0,&g_2691,&g_2691,&g_2691,(void*)0}},{{(void*)0,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,(void*)0},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,(void*)0,(void*)0},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691}},{{&g_2691,(void*)0,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,(void*)0,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,(void*)0},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691}},{{&g_2691,(void*)0,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691}},{{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,(void*)0,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691}},{{&g_2691,&g_2691,&g_2691,(void*)0,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,(void*)0,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691}},{{&g_2691,&g_2691,(void*)0,(void*)0,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{(void*)0,&g_2691,&g_2691,&g_2691,&g_2691}},{{&g_2691,(void*)0,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691}},{{&g_2691,&g_2691,(void*)0,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,(void*)0,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,(void*)0,&g_2691,(void*)0}},{{&g_2691,&g_2691,&g_2691,&g_2691,(void*)0},{(void*)0,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,&g_2691,&g_2691,&g_2691,&g_2691},{&g_2691,(void*)0,&g_2691,&g_2691,&g_2691}}};
    uint8_t ***l_2878 = &g_1725;
    int16_t l_2908 = 0x7ABCL;
    int8_t ****l_2909 = (void*)0;
    uint32_t l_2942 = 0x1E6A2BB5L;
    uint32_t l_2943[1];
    int64_t l_2977[8];
    uint32_t *****l_3004[5] = {&g_1241,&g_1241,&g_1241,&g_1241,&g_1241};
    uint32_t l_3012 = 1UL;
    uint64_t l_3088 = 0UL;
    int16_t l_3089 = (-6L);
    uint16_t l_3107 = 0x43F9L;
    int8_t l_3108[3][10][8] = {{{0x3FL,3L,(-9L),(-9L),3L,0x3FL,3L,5L},{0x3FL,(-5L),0L,3L,3L,3L,0L,(-5L)},{4L,0L,0xF0L,3L,5L,0xDFL,0xDFL,5L},{(-9L),5L,5L,(-9L),4L,(-5L),0xDFL,0x3FL},{0L,(-9L),0xF0L,0xDFL,0xF0L,(-9L),0L,3L},{0xF0L,(-9L),0L,3L,(-5L),(-5L),3L,0L},{5L,5L,(-9L),4L,(-5L),0xDFL,0x3FL,0xDFL},{0xF0L,0L,4L,0L,0xF0L,3L,5L,0xDFL},{0L,(-5L),0x3FL,4L,4L,0x3FL,(-5L),0L},{(-9L),3L,0x3FL,3L,5L,0xF0L,5L,3L}},{{4L,0x64L,4L,0xDFL,3L,0xF0L,4L,4L},{4L,(-9L),5L,5L,(-9L),4L,(-5L),0xDFL},{4L,0xF0L,0x64L,(-9L),(-5L),(-9L),0x64L,0xF0L},{3L,0x64L,0x3FL,(-9L),0xDFL,0L,0L,0xDFL},{5L,0xDFL,0xDFL,5L,3L,0xF0L,0L,4L},{0x64L,5L,0x3FL,0L,0x3FL,5L,0x64L,(-5L)},{0x3FL,5L,0x64L,(-5L),0xF0L,0xF0L,(-5L),0x64L},{0xDFL,0xDFL,5L,3L,0xF0L,0L,4L,0L},{0x3FL,0x64L,3L,0x64L,0x3FL,(-9L),0xDFL,0L},{0x64L,0xF0L,4L,3L,3L,4L,0xF0L,0x64L}},{{5L,(-9L),4L,(-5L),0xDFL,0x3FL,0xDFL,(-5L)},{3L,3L,3L,0L,(-5L),0x3FL,4L,4L},{4L,(-9L),5L,5L,(-9L),4L,(-5L),0xDFL},{4L,0xF0L,0x64L,(-9L),(-5L),(-9L),0x64L,0xF0L},{3L,0x64L,0x3FL,(-9L),0xDFL,0L,0L,0xDFL},{5L,0xDFL,0xDFL,5L,3L,0xF0L,0L,4L},{0x64L,5L,0x3FL,0L,0x3FL,5L,0x64L,(-5L)},{0x3FL,5L,0x64L,(-5L),0xF0L,0xF0L,(-5L),0x64L},{0xDFL,0xDFL,5L,3L,0xF0L,0L,4L,0L},{0x3FL,0x64L,3L,0x64L,0x3FL,(-9L),0xDFL,0L}}};
    int32_t l_3162[6] = {0x6A850549L,0x6A850549L,0x6A850549L,0x6A850549L,0x6A850549L,0x6A850549L};
    int8_t l_3200 = 0xFEL;
    int32_t l_3252 = 3L;
    int8_t l_3257[5][9][5] = {{{0L,9L,0L,0x13L,0L},{0x35L,(-2L),0x9AL,0x73L,0x9AL},{0x46L,0x46L,0xCCL,(-4L),8L},{0x8FL,0x2AL,(-1L),0x9AL,0x2AL},{0x86L,0x09L,1L,(-2L),(-7L)},{0xD8L,0x2AL,0x9AL,(-10L),0x40L},{0xDDL,1L,0x10L,0x4AL,0L},{0L,1L,1L,0L,6L},{0x13L,0x09L,8L,1L,0L}},{{0x47L,(-2L),(-1L),6L,0x87L},{0L,0x10L,0x9BL,1L,0x4AL},{(-1L),0x8FL,0x73L,0L,(-1L)},{0x43L,0L,0x4AL,0x4AL,0L},{0x9AL,0x9AL,0L,(-1L),2L},{0xBFL,0x13L,8L,(-7L),0x09L},{0L,(-1L),0x9AL,2L,0x8FL},{0xBFL,0x10L,0xCCL,0xBFL,0x1CL},{0x9AL,0L,0x29L,(-1L),(-1L)}},{{0x43L,0x72L,0x43L,0x1CL,0xBFL},{(-1L),1L,6L,0x8FL,2L},{0L,0L,0x8CL,0x09L,(-7L)},{0x47L,(-1L),6L,2L,(-1L)},{0x13L,6L,0x43L,0L,0x4AL},{0L,(-1L),0x29L,(-1L),0L},{0xDDL,0L,0xCCL,0x4AL,1L},{0x87L,1L,0x9AL,0x87L,6L},{0L,0xBFL,8L,0L,1L}},{{0x47L,0x87L,0L,6L,0L},{1L,0x10L,0x4AL,0L,0x4AL},{0L,0L,0x73L,(-2L),(-1L)},{0x43L,(-7L),0x9BL,0x4AL,(-7L)},{(-1L),0x9AL,(-1L),0x9AL,2L},{0x09L,(-7L),8L,0x13L,0xBFL},{0L,0L,1L,2L,(-1L)},{0x72L,0x10L,0x10L,0x72L,0x1CL},{(-1L),0x87L,0x29L,0L,0x8FL}},{{0x43L,0xBFL,0xFCL,0x1CL,0x09L},{0x8FL,1L,0x6EL,0L,2L},{0L,0L,0x8CL,0x72L,0L},{0x47L,(-1L),2L,2L,(-1L)},{(-7L),6L,0xDDL,0x13L,0x4AL},{(-2L),(-1L),0x29L,0x9AL,0x87L},{0xDDL,0L,6L,0x4AL,0L},{(-2L),1L,0x67L,(-2L),6L},{(-7L),0xCCL,0L,0xDDL,0xDDL}}};
    int8_t l_3258 = 0L;
    int32_t l_3344 = 0xC9C36F35L;
    uint32_t *l_3367 = &g_142;
    int16_t l_3419 = 0xA283L;
    uint8_t *****l_3440[4];
    const uint8_t l_3486 = 9UL;
    uint16_t *l_3496 = &g_3378.f0;
    uint8_t * const **l_3504 = &g_1366;
    uint16_t *l_3507 = &l_2742[0][0];
    struct S0 *l_3508 = &g_3509;
    int i, j, k;
    for (i = 0; i < 5; i++)
    {
        for (j = 0; j < 10; j++)
        {
            for (k = 0; k < 5; k++)
                l_2408[i][j][k] = 0x1555L;
        }
    }
    for (i = 0; i < 1; i++)
        l_2943[i] = 0x5513D7EAL;
    for (i = 0; i < 8; i++)
        l_2977[i] = 4L;
    for (i = 0; i < 4; i++)
        l_3440[i] = &g_1723;
lbl_3063:
    for (p_19 = 1; (p_19 >= 0); p_19 -= 1)
    { /* block id: 13 */
        int32_t *l_25 = (void*)0;
        int32_t *l_26[3];
        int16_t l_43 = (-2L);
        const int16_t *l_2373 = &g_1907;
        const int16_t **l_2372 = &l_2373;
        const int16_t ***l_2371 = &l_2372;
        const int16_t ****l_2370[10][9][1] = {{{(void*)0},{&l_2371},{&l_2371},{&l_2371},{(void*)0},{&l_2371},{&l_2371},{&l_2371},{&l_2371}},{{&l_2371},{&l_2371},{&l_2371},{&l_2371},{(void*)0},{&l_2371},{&l_2371},{(void*)0},{&l_2371}},{{(void*)0},{&l_2371},{&l_2371},{(void*)0},{&l_2371},{&l_2371},{&l_2371},{&l_2371},{&l_2371}},{{&l_2371},{&l_2371},{&l_2371},{(void*)0},{&l_2371},{&l_2371},{&l_2371},{(void*)0},{&l_2371}},{{&l_2371},{(void*)0},{(void*)0},{&l_2371},{&l_2371},{(void*)0},{&l_2371},{&l_2371},{&l_2371}},{{(void*)0},{&l_2371},{&l_2371},{&l_2371},{&l_2371},{&l_2371},{&l_2371},{&l_2371},{&l_2371}},{{(void*)0},{&l_2371},{&l_2371},{(void*)0},{&l_2371},{(void*)0},{&l_2371},{&l_2371},{(void*)0}},{{&l_2371},{&l_2371},{&l_2371},{&l_2371},{&l_2371},{&l_2371},{&l_2371},{&l_2371},{(void*)0}},{{&l_2371},{&l_2371},{&l_2371},{(void*)0},{&l_2371},{&l_2371},{(void*)0},{(void*)0},{&l_2371}},{{&l_2371},{(void*)0},{&l_2371},{&l_2371},{&l_2371},{(void*)0},{&l_2371},{&l_2371},{&l_2371}}};
        const int16_t *****l_2369 = &l_2370[1][6][0];
        uint8_t *l_2407 = (void*)0;
        uint32_t *****l_2434 = &g_1241;
        int16_t l_2467 = (-5L);
        int32_t l_2472[9];
        uint32_t ****l_2543 = (void*)0;
        int i, j, k;
        for (i = 0; i < 3; i++)
            l_26[i] = (void*)0;
        for (i = 0; i < 9; i++)
            l_2472[i] = 0xFDE6685CL;
    }
    if (l_2468)
    { /* block id: 1127 */
        int8_t l_2553 = 0x6FL;
        int32_t l_2605 = 0x57CA6C93L;
        int32_t l_2606 = (-1L);
        int32_t l_2607[2];
        uint64_t l_2611 = 0xB188858FDE4DFD5DLL;
        uint32_t *l_2626 = (void*)0;
        int64_t l_2711 = 0x0914F6091193FEBALL;
        uint32_t l_2768[7] = {0xB36C865BL,0xB36C865BL,0xB36C865BL,0xB36C865BL,0xB36C865BL,0xB36C865BL,0xB36C865BL};
        int32_t l_2789 = 0x23227DF4L;
        int i;
        for (i = 0; i < 2; i++)
            l_2607[i] = 1L;
        (***g_1646) = (***g_1646);
        if (l_2400)
        { /* block id: 1129 */
            uint16_t *l_2554 = &l_2408[3][4][4];
            int32_t l_2565 = 0xDBBB214EL;
            int8_t *l_2570[4] = {(void*)0,(void*)0,(void*)0,(void*)0};
            int32_t l_2571 = 6L;
            int32_t l_2572 = 0x516544C4L;
            int32_t l_2573 = 0x1EB6CD42L;
            int32_t *l_2574 = &g_49[1][1];
            int32_t l_2609 = (-1L);
            int32_t l_2610 = 0xDA650195L;
            uint16_t l_2643[6][1][6] = {{{0x269DL,0xD68CL,0x1394L,0x269DL,0x06FDL,0x06FDL}},{{65533UL,0xD68CL,0xD68CL,65533UL,0x06FDL,0x1394L}},{{0xFB60L,0xD68CL,0x06FDL,0xFB60L,0x06FDL,0xD68CL}},{{0x269DL,0xD68CL,0x1394L,0x269DL,0x06FDL,0x06FDL}},{{65533UL,0xD68CL,0xD68CL,65533UL,0x06FDL,0x1394L}},{{0xFB60L,0xD68CL,0x06FDL,0xFB60L,0x06FDL,0xD68CL}}};
            uint64_t l_2684 = 0x366C108CAC7C888DLL;
            int i, j, k;
            l_2573 ^= ((****g_1645) = (safe_lshift_func_uint16_t_u_s((safe_rshift_func_int16_t_s_s(((**l_2447) ^= l_2553), (p_17 = (((((*l_2554) = 0UL) || (0xB5L > ((((0x29B6D16EL < ((l_2554 == (void*)0) >= ((safe_div_func_int16_t_s_s((l_2553 == ((((l_2571 = (p_19 = ((safe_div_func_int16_t_s_s((safe_sub_func_int32_t_s_s(((safe_mul_func_uint32_t_u_u((l_2565 = l_2553), (safe_div_func_int16_t_s_s((safe_div_func_uint32_t_u_u((0x31L ^ g_488[4][3][0]), p_18)), 65535UL)))) ^ 0x5429EDD7L), (****g_1645))), p_18)) > 0xA1B139F3F890E0FBLL))) , p_17) | g_897[3][6].f5) | 0xD93AL)), 0x1763L)) | l_2572))) ^ g_404.f2) || l_27) , l_2553))) == p_18) || 4294967286UL)))), 10)));
            (***g_1645) = l_2574;
            if ((((safe_sub_func_uint16_t_u_u((safe_lshift_func_int32_t_s_u((**g_72), (safe_add_func_uint8_t_u_u((safe_lshift_func_uint32_t_u_u(0x4AA7884DL, 0)), (safe_mod_func_int32_t_s_s((p_17 , (***g_1646)), p_18)))))), ((*l_2448) &= p_18))) , 1UL) && (safe_add_func_uint64_t_u_u((safe_mul_func_int16_t_s_s(0x94DAL, ((void*)0 != l_2589))), 0xEAA94CE4CA78111CLL))))
            { /* block id: 1140 */
                int32_t *****l_2603 = &g_1645;
                (**g_72) ^= (((***l_2589) ^= ((safe_mod_func_uint16_t_u_u(0xA929L, p_18)) != p_19)) , (((safe_sub_func_uint16_t_u_u(0xD585L, l_2553)) && ((safe_lshift_func_int16_t_s_u(l_2400, (safe_mod_func_int32_t_s_s((safe_unary_minus_func_uint32_t_u((safe_sub_func_int64_t_s_s(((safe_lshift_func_uint64_t_u_s(0x3D961270BD67B30ALL, 57)) <= (((*l_2603) = &g_1646) == (void*)0)), 0L)))), p_18)))) || p_18)) < p_19));
            }
            else
            { /* block id: 1144 */
                int32_t *l_2604[1];
                int16_t l_2608[1];
                int32_t l_2614 = 1L;
                uint8_t l_2615 = 0x29L;
                int32_t * const *l_2671 = &g_1068[0];
                int32_t * const **l_2670 = &l_2671;
                int32_t * const ***l_2669 = &l_2670;
                int i;
                for (i = 0; i < 1; i++)
                    l_2604[i] = (void*)0;
                for (i = 0; i < 1; i++)
                    l_2608[i] = (-3L);
                --l_2611;
                ++l_2615;
                for (g_272.f0 = 0; (g_272.f0 == 1); g_272.f0 = safe_add_func_int64_t_s_s(g_272.f0, 6))
                { /* block id: 1149 */
                    uint32_t ***l_2624 = &g_2546;
                    int32_t l_2627 = 0xF917AC57L;
                    (***g_1646) |= (p_18 >= (safe_sub_func_uint32_t_u_u(((((safe_div_func_int16_t_s_s((((void*)0 != &g_994) || ((p_19 , l_2624) == (g_495 , (*l_2540)))), (~(((*l_2542) = l_2626) != ((18446744073709551614UL != g_541[5].f0) , l_2604[0]))))) && g_1276[2]) | 1L) < l_2627), 0xF0552634L)));
                }
                for (g_994 = 27; (g_994 > 22); g_994--)
                { /* block id: 1155 */
                    uint32_t l_2633 = 1UL;
                    int32_t l_2656 = 0x6B6859FFL;
                    int32_t l_2657 = 5L;
                    int64_t *l_2664 = &g_102;
                    uint8_t l_2685 = 0x32L;
                    l_2386[3] = (l_2605 = ((!((l_2657 |= ((l_2633 >= ((((**g_72) &= ((safe_lshift_func_uint16_t_u_u((safe_lshift_func_int32_t_s_u((safe_mul_func_uint16_t_u_u((safe_unary_minus_func_uint16_t_u(((((safe_unary_minus_func_uint32_t_u(((+l_2643[1][0][3]) < (p_19 = (safe_mul_func_int8_t_s_s((safe_rshift_func_int32_t_s_u(p_19, 23)), (((0xCF2D9002L ^ (((*l_2554) = ((l_2443[1] && (((p_18 > (safe_rshift_func_uint16_t_u_u((((safe_rshift_func_uint64_t_u_u((((safe_div_func_uint32_t_u_u(l_2386[5], p_18)) , ((safe_add_func_uint64_t_u_u(l_2633, 0x916B766F5F7CA9BALL)) || (-3L))) | l_2633), 12)) || 0L) ^ l_2633), 11))) >= l_2443[3]) < 0xB784C0C0L)) >= p_19)) && p_17)) & 0UL) < p_19))))))) > p_17) && 0xF59A7714L) , 4UL))), p_17)), l_2547)), 2)) != p_17)) && l_2606) >= 4294967295UL)) && l_2656)) == l_2553)) <= 0x494DL));
                    (*l_2574) = (p_17 <= (((****g_1241) , (safe_add_func_uint64_t_u_u(l_2605, ((g_2050[5][4].f0 || g_337.f0) , ((*l_2664) = (*l_2574)))))) < ((((safe_add_func_uint16_t_u_u((safe_mod_func_int8_t_s_s((((l_2669 != l_2672) ^ p_18) || p_18), p_17)), g_897[3][6].f2)) == p_17) <= p_19) != p_19)));
                    (**g_1646) = (***g_1645);
                    l_2573 |= ((p_17 ^ p_18) , ((safe_div_func_uint64_t_u_u(((safe_mul_func_int16_t_s_s((((~(*l_2574)) , (((l_2553 , (safe_div_func_int8_t_s_s(((((p_19 > (3L && 1L)) < ((safe_sub_func_uint32_t_u_u(l_2633, (safe_mul_func_uint16_t_u_u(((l_2611 && p_19) | 0x8B74L), l_2633)))) , 8L)) >= l_2633) , 0x35L), p_19))) , (void*)0) == &l_2657)) > l_2684), p_19)) || 0x1770CE39L), l_2685)) <= g_2080));
                }
            }
        }
        else
        { /* block id: 1168 */
            uint64_t * const *l_2692 = &g_2691;
            int32_t l_2698 = 0xEFFFD2E9L;
            uint32_t l_2743[3];
            int32_t l_2755[1];
            int32_t l_2773 = 0x5E458F74L;
            int8_t *l_2815 = &g_488[4][3][0];
            int32_t *l_2816 = &l_2607[1];
            int32_t * const l_2826 = (void*)0;
            int32_t * const *l_2825 = &l_2826;
            int32_t * const **l_2824 = &l_2825;
            int i;
            for (i = 0; i < 3; i++)
                l_2743[i] = 0x120FABBDL;
            for (i = 0; i < 1; i++)
                l_2755[i] = 0xCDE8B219L;
            l_2607[0] = ((safe_rshift_func_uint32_t_u_s(((void*)0 == &g_1645), ((****g_1645) = 0x7686D598L))) < (g_2050[5][4].f0 ^ p_18));
            if ((safe_lshift_func_uint8_t_u_u(p_17, 0)))
            { /* block id: 1171 */
                (*g_2545) = (*g_2545);
                l_2692 = g_2690[2];
            }
            else
            { /* block id: 1174 */
                int64_t *l_2695 = &g_102;
                int32_t l_2699 = 0x9D2CFE7CL;
                int8_t *l_2716[3];
                int32_t l_2757 = 0xC98D59FCL;
                int i;
                for (i = 0; i < 3; i++)
                    l_2716[i] = &g_107;
                if (((0xC8L < ((safe_div_func_int64_t_s_s(((*l_2695) = g_543.f6), (((l_2699 = ((safe_mul_func_uint32_t_u_u((--g_205), (((safe_add_func_uint16_t_u_u((safe_unary_minus_func_int64_t_s((safe_div_func_uint32_t_u_u(((((safe_sub_func_uint16_t_u_u((safe_lshift_func_uint32_t_u_u(l_2699, ((l_2699 , l_2711) , (g_495++)))), (safe_mul_func_int16_t_s_s(0L, 1UL)))) < ((p_19 , (p_17 , l_2711)) | l_2698)) ^ p_19) <= p_18), 0x6DA66D42L)))), g_543.f5)) | 1L) , (****g_1645)))) , p_18)) > l_2717) || (***g_1646)))) , (*g_1361))) >= g_461))
                { /* block id: 1179 */
                    uint8_t **l_2736[6][5] = {{&g_1361,(void*)0,(void*)0,&g_1361,(void*)0},{&g_1361,&g_1361,&g_1361,&g_1361,&g_1361},{(void*)0,&g_1361,(void*)0,(void*)0,&g_1361},{&g_1361,(void*)0,(void*)0,&g_1361,(void*)0},{&g_1361,&g_1361,&g_1361,&g_1361,&g_1361},{(void*)0,&g_1361,(void*)0,(void*)0,&g_1361}};
                    int32_t l_2741 = (-1L);
                    int32_t *l_2744 = &l_2468;
                    int i, j;
                    (*l_2744) = (safe_mod_func_uint8_t_u_u((p_17 < (((safe_mul_func_uint64_t_u_u(((safe_add_func_uint16_t_u_u(((p_18 >= 1L) ^ (((safe_sub_func_int32_t_s_s((safe_sub_func_int64_t_s_s(((((**g_1646) = func_37(((((safe_div_func_uint32_t_u_u((((1UL && (safe_div_func_uint8_t_u_u((safe_mul_func_uint8_t_u_u(p_19, ((g_2475 , ((((((l_2736[1][1] == (*g_482)) > (safe_div_func_uint32_t_u_u((safe_div_func_uint64_t_u_u(0x32F5954DC3EC6029LL, (*g_2691))), (***g_1646)))) || 0x849A4161L) ^ l_2741) , 1L) || g_57[0][2])) & g_314))), p_17))) == l_2742[7][0]) && (-5L)), 2UL)) > l_2698) ^ p_18) | l_2741), g_1410, l_2743[2], (*g_2691), l_2611)) != &l_2741) == p_17), p_17)), 0x02C3EEBAL)) == 0x10E2955BL) <= l_2743[1])), 2L)) ^ (-10L)), p_18)) || 0x61L) ^ p_19)), l_2711));
                }
                else
                { /* block id: 1182 */
                    int8_t l_2750[3];
                    int32_t l_2751 = 0x5DDCD621L;
                    uint32_t l_2752[2][3] = {{0xE5255420L,0xE5255420L,0xE5255420L},{1UL,1UL,1UL}};
                    int32_t l_2756 = (-2L);
                    int32_t l_2758 = 0x3925C28AL;
                    int32_t l_2759[4][7] = {{0xBB3BEC5CL,0xEC856D8FL,0xEC856D8FL,0xBB3BEC5CL,0x545456FBL,(-1L),0x545456FBL},{(-8L),8L,8L,(-8L),0xA94A592EL,0xC990F0A5L,0xA94A592EL},{0xEC856D8FL,(-1L),(-1L),0xEC856D8FL,(-7L),0xF93D82B8L,(-7L)},{8L,0xC990F0A5L,0xC990F0A5L,8L,(-10L),0L,(-10L)}};
                    uint64_t l_2760 = 1UL;
                    int i, j;
                    for (i = 0; i < 3; i++)
                        l_2750[i] = 4L;
                    for (g_102 = 0; (g_102 != 12); ++g_102)
                    { /* block id: 1185 */
                        int32_t *l_2747 = &l_2607[1];
                        int32_t *l_2748 = (void*)0;
                        int32_t *l_2749[10][4][6] = {{{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605}},{{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605}},{{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605}},{{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605}},{{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605}},{{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605}},{{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605}},{{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605}},{{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605}},{{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605},{&l_2605,&l_2605,&l_2605,&l_2605,&l_2605,&l_2605}}};
                        int i, j, k;
                        l_2752[1][1]++;
                        l_2760++;
                        if (p_18)
                            continue;
                        (**g_72) ^= ((safe_div_func_uint32_t_u_u(0xCDA3B13CL, (-2L))) >= l_2698);
                    }
                    for (l_2698 = 0; (l_2698 == 13); l_2698 = safe_add_func_int64_t_s_s(l_2698, 2))
                    { /* block id: 1193 */
                        struct S0 **l_2767 = &g_271;
                        (*l_2767) = (void*)0;
                        (*g_73) = (0x0325591952113741LL < p_19);
                    }
                    (*g_73) = ((++l_2768[1]) | (safe_lshift_func_int8_t_s_u(g_205, l_2773)));
                    (***g_1646) = (((p_19 ^= ((((safe_sub_func_uint16_t_u_u(p_17, p_17)) <= (g_1836.f5 = (l_2698 = (safe_lshift_func_uint8_t_u_s(((safe_mod_func_int32_t_s_s(l_2743[2], (safe_div_func_uint16_t_u_u(((l_2782 < 0x1A42CD64L) | 0x9A8C267EL), (safe_mul_func_uint32_t_u_u(1UL, (((safe_sub_func_int64_t_s_s(((0L >= (l_2773 |= (safe_add_func_int16_t_s_s(0x3A06L, l_2789)))) != l_2751), l_2553)) < l_2757) , 0xBB101F22L))))))) != l_2768[1]), 4))))) & p_17) & (**g_1725))) , p_19) >= (*g_2691));
                }
                l_2605 = (l_2607[0] |= ((-4L) ^ (-7L)));
            }
            l_2468 = (0x265188623C72134DLL <= (safe_sub_func_int16_t_s_s((18446744073709551608UL && (((safe_rshift_func_uint8_t_u_u((safe_unary_minus_func_uint32_t_u((safe_sub_func_uint8_t_u_u((safe_rshift_func_int64_t_s_u(l_2611, (safe_unary_minus_func_int8_t_s((safe_lshift_func_uint8_t_u_u((((safe_lshift_func_int16_t_s_s((safe_rshift_func_uint8_t_u_s((safe_add_func_int16_t_s_s(p_17, (p_17 , ((***g_1724) == (0xDFA5FA19L == (safe_mul_func_uint16_t_u_u((((*l_2816) = ((((((*l_2815) = ((safe_sub_func_int32_t_s_s(p_17, ((((safe_unary_minus_func_int32_t_s((0UL >= 0UL))) ^ (*g_2691)) , 1L) || 0x47422D4AL))) < g_1276[3])) & g_1294) > 0x45F44E27L) > 0xEE192C9AL) > l_2605)) ^ p_17), 0xEFC7L))))))), 7)), 10)) >= l_2817) , (*l_2816)), 5)))))), 0x97L)))), p_17)) | 0L) != 0xF459L)), 0x582EL)));
            l_2607[1] = (safe_div_func_int16_t_s_s((((((p_19 <= ((**l_2447) |= (p_18 >= (-6L)))) < (((--(*g_1361)) , ((*l_2824) = ((*g_73) , func_79((safe_sub_func_uint8_t_u_u(((***g_930) , (3L ^ 1UL)), (((((void*)0 == &l_2768[5]) == p_19) | 65535UL) | 0x3729F7DFBAB4B37DLL))), (**g_1645), &l_2605, p_18, p_18)))) != (void*)0)) <= p_17) && (-1L)) && p_18), 0x9D64L));
        }
    }
    else
    { /* block id: 1216 */
        int32_t *** const *l_2840 = &g_1646;
        const uint32_t l_2842[5][8][6] = {{{4294967291UL,0xA3DC4BABL,8UL,0x653E81DAL,4294967294UL,0xB7ACCCEEL},{4294967287UL,0UL,0xBC3F63E6L,4294967287UL,0xD3126891L,1UL},{7UL,1UL,4294967295UL,4294967295UL,1UL,7UL},{4294967295UL,0x9DE17E81L,0UL,1UL,0xDB1C45E9L,1UL},{0x2F4E04FAL,0UL,0x516E3FD4L,0xCA20DB42L,4294967293UL,4294967295UL},{0x2F4E04FAL,4294967295UL,0xCA20DB42L,1UL,0x81D559A1L,0UL},{4294967295UL,0xDB1C45E9L,0xC282814DL,4294967295UL,4294967286UL,0xEB60DEDCL},{7UL,4294967287UL,0x922BDD88L,4294967287UL,4294967295UL,0x296448D8L}},{{4294967287UL,8UL,4294967295UL,0x653E81DAL,4294967287UL,0x81D559A1L},{4294967291UL,0x4DC48282L,4294967287UL,0x4DC48282L,4294967291UL,0xC282814DL},{1UL,0x586080ADL,0xDB1C45E9L,1UL,0x653E81DAL,0UL},{0x516E3FD4L,0x81D559A1L,0x9DE17E81L,0x586080ADL,1UL,0UL},{0xD3126891L,0x922BDD88L,0xDB1C45E9L,0xBC3F63E6L,4294967295UL,0xC282814DL},{1UL,4294967286UL,4294967287UL,0x296448D8L,0x922BDD88L,0x81D559A1L},{4294967294UL,1UL,4294967295UL,7UL,0x516E3FD4L,0x296448D8L},{0x296448D8L,4294967288UL,0x922BDD88L,0x7B362A98L,0xEB60DEDCL,0xEB60DEDCL}},{{0x922BDD88L,0xC282814DL,0xC282814DL,0x922BDD88L,8UL,0UL},{4294967295UL,0xD3126891L,0xCA20DB42L,0x9DE17E81L,1UL,4294967295UL},{0xC282814DL,0x77C99ACAL,0x516E3FD4L,4294967291UL,1UL,1UL},{0UL,0xD3126891L,0UL,4294967294UL,8UL,7UL},{0xDB1C45E9L,0xC282814DL,4294967295UL,4294967286UL,0xEB60DEDCL,1UL},{0x4BBB54F7L,0x77C99ACAL,4294967295UL,0x81D559A1L,4294967295UL,0xDB1C45E9L},{0xA3DC4BABL,4294967288UL,4294967288UL,0UL,0x2F4E04FAL,0UL},{0UL,1UL,0UL,4294967287UL,0xA3DC4BABL,4294967295UL}},{{4294967295UL,0x2F4E04FAL,1UL,0xA3DC4BABL,0x81D559A1L,2UL},{0x516E3FD4L,0x4DC48282L,0UL,0xA3DC4BABL,0xEB60DEDCL,4294967287UL},{4294967295UL,0x296448D8L,0x653E81DAL,4294967287UL,0xBC3F63E6L,0x516E3FD4L},{0UL,0x653E81DAL,0xDB1C45E9L,0UL,0xCA20DB42L,4294967295UL},{0xA3DC4BABL,4294967288UL,0x7B362A98L,0x81D559A1L,4294967294UL,0x4BBB54F7L},{4294967295UL,0xB7ACCCEEL,4294967288UL,1UL,1UL,4294967288UL},{0x4BBB54F7L,0x4BBB54F7L,4294967295UL,4294967295UL,0x4DC48282L,0xC282814DL},{0x586080ADL,0xA3DC4BABL,0xD3126891L,0xBC3F63E6L,4294967286UL,4294967295UL}},{{0x922BDD88L,0x586080ADL,0xD3126891L,2UL,0x4BBB54F7L,0xC282814DL},{1UL,2UL,4294967295UL,0x2F4E04FAL,0xD3126891L,4294967288UL},{0x2F4E04FAL,0xD3126891L,4294967288UL,0xC282814DL,7UL,0x4BBB54F7L},{4294967295UL,4294967293UL,0x7B362A98L,4294967287UL,4294967295UL,4294967295UL},{4294967295UL,0x516E3FD4L,0xDB1C45E9L,4294967295UL,0xDB1C45E9L,0x516E3FD4L},{0x81D559A1L,4294967287UL,0x653E81DAL,4294967295UL,8UL,4294967287UL},{7UL,0xEB60DEDCL,0UL,0x296448D8L,1UL,2UL},{4294967295UL,0xEB60DEDCL,1UL,0xD3126891L,8UL,4294967295UL}}};
        uint32_t **l_2847 = &g_932;
        uint64_t **l_2866 = &g_2691;
        uint32_t l_2875 = 1UL;
        int32_t l_2896 = (-5L);
        int32_t l_2897 = (-10L);
        int32_t l_2898 = 0x64BBBBA5L;
        int8_t l_2953 = 0xC9L;
        int32_t l_2969 = 0xA2B87570L;
        int32_t l_2970 = (-1L);
        int32_t l_2972 = 1L;
        int32_t l_2973[8][5][6] = {{{4L,0x5F409448L,(-1L),0x83784E07L,6L,(-1L)},{0x1E46EC7FL,(-1L),0x074D78BFL,(-1L),0L,0x74D5D089L},{(-2L),4L,0x15FA98BFL,(-1L),4L,(-1L)},{0x0D6EF761L,(-2L),0x0D6EF761L,0x64076C6EL,0x0A4F7B4DL,4L},{0L,0x5821F816L,(-1L),0x490D0864L,(-1L),0x78BBB5D1L}},{{2L,(-1L),0x6D19624AL,0x490D0864L,(-1L),0x64076C6EL},{0L,0x83784E07L,0x3BDF9D08L,0x64076C6EL,0L,(-10L)},{0x0D6EF761L,8L,4L,(-1L),(-1L),0x832C7391L},{(-2L),0x78D85B1EL,0xF18F5DF0L,(-1L),1L,0x3BDF9D08L},{0x1E46EC7FL,(-1L),4L,0x83784E07L,(-1L),0x641A8E4BL}},{{4L,0x98EBEE01L,0xE61E9352L,3L,0x0A4F7B4DL,0L},{(-1L),1L,(-4L),0x5F409448L,4L,9L},{0x78BBB5D1L,0x832C7391L,0x0A4F7B4DL,(-1L),0x0B449751L,0x64076C6EL},{0x5821F816L,0x074D78BFL,0xE1032D09L,0x6D19624AL,(-8L),0x78092467L},{(-1L),(-1L),0xC67591AFL,0x64076C6EL,4L,0x763ADF08L}},{{8L,0x0B449751L,4L,(-2L),0L,0L},{0x810AB629L,8L,6L,5L,8L,(-8L)},{0L,(-1L),9L,0x0A4F7B4DL,0xB391DACCL,0xB391DACCL},{(-1L),2L,2L,(-1L),0xC67591AFL,5L},{3L,0x763ADF08L,0xC09730CCL,0x22E146AFL,0x74D5D089L,(-1L)}},{{0x78D85B1EL,0x0EFDD568L,8L,0L,0x74D5D089L,0xE61E9352L},{9L,0x763ADF08L,4L,0x64076C6EL,0xC67591AFL,(-1L)},{0xA4CC4526L,2L,0x6D19624AL,(-1L),0xB391DACCL,1L},{6L,(-1L),4L,0x74D5D089L,8L,0xF18F5DF0L},{2L,8L,(-1L),1L,0L,0x36A332FBL}},{{0x78092467L,0x0B449751L,(-1L),0x78D85B1EL,4L,5L},{0x64076C6EL,(-1L),0xB391DACCL,0x763ADF08L,(-8L),0xE1032D09L},{(-1L),0x074D78BFL,0L,4L,(-1L),0x763ADF08L},{9L,0xE61E9352L,0x810AB629L,0x0EFDD568L,0x65965C78L,1L},{0x810AB629L,9L,4L,4L,0xC09730CCL,0x6D19624AL}},{{(-7L),(-1L),(-2L),0x3BDF9D08L,0x490D0864L,0x185F1355L},{0x641A8E4BL,1L,2L,0x0A4F7B4DL,(-2L),4L},{0x0D6EF761L,0x78BBB5D1L,(-1L),0x22E146AFL,0x810AB629L,7L},{0x74D5D089L,1L,0L,1L,0x74D5D089L,0L},{4L,(-8L),5L,4L,0x0EFDD568L,(-1L)}},{{(-1L),0x78092467L,(-1L),(-8L),1L,(-1L)},{6L,0x94C2F7A8L,5L,6L,0xC09730CCL,0L},{1L,8L,0L,0x074D78BFL,0L,7L},{2L,0x870FDE31L,(-1L),4L,4L,4L},{0x5821F816L,(-1L),2L,0x763ADF08L,(-1L),0x185F1355L}}};
        uint32_t l_3025 = 0x76971806L;
        uint64_t l_3026 = 18446744073709551614UL;
        int8_t l_3084 = 0L;
        int32_t l_3104 = 0xCB0FC65EL;
        int16_t ****l_3116 = &g_1697;
        int32_t l_3159 = 0x262CE1A4L;
        int32_t l_3219 = 0x150A1F7EL;
        int16_t l_3237 = 8L;
        int8_t l_3238 = 0x3FL;
        int64_t l_3251 = 0x212407E06803DFB4LL;
        int8_t *l_3305 = &l_3257[3][4][1];
        int8_t **l_3304[2];
        int8_t ***l_3303 = &l_3304[0];
        const uint32_t **l_3314 = &g_519;
        uint32_t l_3345 = 1UL;
        uint32_t l_3346 = 0x05DC1F4EL;
        int64_t l_3368[4] = {0xFF85530379A123E7LL,0xFF85530379A123E7LL,0xFF85530379A123E7LL,0xFF85530379A123E7LL};
        int i, j, k;
        for (i = 0; i < 2; i++)
            l_3304[i] = &l_3305;
        for (g_1624 = 0; (g_1624 <= 38); g_1624++)
        { /* block id: 1219 */
            int32_t l_2882 = 0xE4CE3C55L;
            int32_t l_2899 = 8L;
            uint8_t ***l_2944 = &g_1725;
            int32_t l_2968[1];
            uint32_t l_2978 = 0x65D3B393L;
            uint64_t l_3001 = 0x2148E9A67D171DB3LL;
            int32_t *l_3011 = &g_49[0][4];
            const int32_t l_3017 = 0x0617FF24L;
            int64_t *l_3018 = &g_269.f5;
            int32_t l_3076[8][4][1] = {{{0x960A6506L},{0x960A6506L},{0L},{0x960A6506L}},{{0x960A6506L},{0L},{0x960A6506L},{0x960A6506L}},{{0L},{0x960A6506L},{0x960A6506L},{0L}},{{0x960A6506L},{0x960A6506L},{0L},{0x960A6506L}},{{0x960A6506L},{0L},{0x960A6506L},{0x960A6506L}},{{0L},{0x960A6506L},{0x960A6506L},{0L}},{{0x960A6506L},{0L},{0xC7741B62L},{0L}},{{0L},{0xC7741B62L},{0L},{0L}}};
            int i, j, k;
            for (i = 0; i < 1; i++)
                l_2968[i] = 0x0C3C6077L;
            for (p_18 = 0; (p_18 <= 5); p_18 = safe_add_func_int16_t_s_s(p_18, 4))
            { /* block id: 1222 */
                uint8_t l_2872 = 9UL;
                int32_t l_2879[8] = {2L,2L,2L,2L,2L,2L,2L,2L};
                int32_t *l_2985 = (void*)0;
                int32_t *l_2986 = &l_2973[3][4][1];
                int32_t *l_3000 = &l_2972;
                int i;
                for (g_269.f5 = 6; (g_269.f5 >= 10); g_269.f5++)
                { /* block id: 1225 */
                    int32_t l_2848 = 0x192D5017L;
                    uint32_t l_2850[5][7] = {{0x60AF4965L,1UL,1UL,0x60AF4965L,1UL,1UL,0x60AF4965L},{1UL,0x60AF4965L,1UL,1UL,0x60AF4965L,1UL,1UL},{0x60AF4965L,0x60AF4965L,0xBCC58E75L,0x60AF4965L,0x60AF4965L,0xBCC58E75L,0x60AF4965L},{0x60AF4965L,1UL,1UL,0x60AF4965L,1UL,1UL,0x60AF4965L},{1UL,0x60AF4965L,1UL,1UL,0x60AF4965L,1UL,1UL}};
                    int32_t l_2900 = 0x021DB587L;
                    uint32_t l_2901 = 7UL;
                    int32_t l_2971 = 0x0E0DFA26L;
                    int32_t l_2974 = (-1L);
                    int32_t l_2975 = 0x04EA4FDFL;
                    int32_t l_2976 = 0xCB1A94E4L;
                    int i, j;
                }
                l_2968[0] |= ((((safe_add_func_uint16_t_u_u((safe_mul_func_int8_t_s_s((((void*)0 == &g_1003) < ((*g_2691) = ((((l_2879[3] || ((****g_1645) > ((*l_2986) = p_17))) ^ g_161) == ((*l_3000) |= (safe_sub_func_int16_t_s_s((safe_add_func_uint16_t_u_u(((((*g_1361)--) ^ (safe_add_func_int16_t_s_s((!((safe_mod_func_int64_t_s_s((g_272.f5 ^= (0x1EE3L ^ ((safe_add_func_int64_t_s_s(((0x7E49CF31L != (**g_72)) > (****l_2840)), 0x4575355519871C47LL)) | p_19))), 0x38BFB277CB1739B6LL)) || (-8L))), p_18))) >= p_18), p_18)), p_18)))) ^ 0x9646L))), 1UL)), g_1296[3])) < 0xBE522157813E4723LL) == l_3001) != g_358);
            }
            (***g_1646) = (((((0x66L != (g_1276[2] = (g_543.f6 , ((safe_lshift_func_int64_t_s_u((((void*)0 != l_3004[3]) ^ ((*l_3011) |= ((safe_div_func_uint16_t_u_u(((!p_17) && ((****l_2840) & (p_18 <= (((****l_2840) | ((safe_unary_minus_func_int32_t_s(((safe_add_func_int8_t_s_s((0x8EL <= p_17), 0x6AL)) & p_19))) == 0x0EBE1E59L)) , 0xAB36L)))), 0x1051L)) != (****l_2840)))), 53)) != 3L)))) < (**g_72)) && l_3012) || 18446744073709551615UL) , 0x308888C2L);
            if (p_18)
                break;
            if (((l_3026 = (l_2468 ^= ((**g_72) ^= (((p_17 | (((safe_rshift_func_uint64_t_u_u(((((p_18 < (g_892 = (safe_rshift_func_uint32_t_u_u(((-8L) <= (&g_725[2] != (l_3017 , l_3018))), (safe_rshift_func_int64_t_s_u((((void*)0 == &g_930) , (safe_div_func_uint8_t_u_u(((--(**l_2866)) , ((0xD7818A70E7F11BEDLL < g_1836.f6) ^ g_24[1][5][1])), (-8L)))), 2)))))) > g_1836.f0) >= 0x21L) <= l_3025), 31)) > (*l_3011)) & 0UL)) & (-1L)) ^ 4L)))) != (-6L)))
            { /* block id: 1282 */
                uint32_t * const ***l_3028 = &g_3027;
                uint32_t * const **l_3030 = (void*)0;
                uint32_t * const ***l_3029 = &l_3030;
                (***g_1646) = (((*l_3029) = ((*l_3028) = g_3027)) != (*g_1241));
                if ((**g_72))
                    continue;
            }
            else
            { /* block id: 1287 */
                int16_t l_3075 = (-2L);
                for (g_543.f0 = 0; (g_543.f0 != 23); g_543.f0 = safe_add_func_int32_t_s_s(g_543.f0, 1))
                { /* block id: 1290 */
                    int32_t *l_3033 = &l_2899;
                    int32_t *l_3034 = &g_279;
                    int32_t *l_3035[4];
                    uint32_t l_3036[7][7] = {{0x350C4CE3L,0UL,0x350C4CE3L,0x1684C54CL,0x50686C7EL,0x50686C7EL,0x1684C54CL},{0x350C4CE3L,0UL,0x350C4CE3L,0x1684C54CL,0x50686C7EL,0x50686C7EL,0x1684C54CL},{0x350C4CE3L,0UL,0x350C4CE3L,0x1684C54CL,0x50686C7EL,0x50686C7EL,0x1684C54CL},{0x350C4CE3L,0UL,0x350C4CE3L,0x1684C54CL,0x50686C7EL,0x50686C7EL,0x1684C54CL},{0x350C4CE3L,0UL,0x350C4CE3L,0x1684C54CL,0x50686C7EL,0x50686C7EL,0x1684C54CL},{0x350C4CE3L,0UL,0x350C4CE3L,0x1684C54CL,0x50686C7EL,0x50686C7EL,0x1684C54CL},{0x350C4CE3L,0UL,0x350C4CE3L,0x1684C54CL,0x50686C7EL,0x50686C7EL,0x1684C54CL}};
                    int i, j;
                    for (i = 0; i < 4; i++)
                        l_3035[i] = &g_49[0][4];
                    --l_3036[5][0];
                    (*l_3033) &= (safe_rshift_func_int32_t_s_s(((((((p_17 == (safe_mul_func_int32_t_s_s((safe_mod_func_uint64_t_u_u((*l_3011), (p_19 , p_18))), ((0xD7B6L | (safe_unary_minus_func_uint16_t_u((((****l_2840) |= 0xBC705A14L) , ((((&g_1358 == (void*)0) , g_272.f0) >= 65535UL) , g_543.f6))))) >= g_337.f7)))) == 0xFD452230A6A5FA1ALL) > 1L) >= 0x913EB97CE742EE3ALL) | 250UL) <= (*l_3034)), 15));
                    if ((safe_sub_func_int8_t_s_s(6L, (safe_mod_func_uint32_t_u_u((((*l_3011) >= p_18) , (safe_add_func_int16_t_s_s(0xCFFCL, (safe_lshift_func_int32_t_s_u((safe_add_func_int32_t_s_s(0x0FF09B79L, ((safe_mul_func_uint32_t_u_u(1UL, (*l_3011))) , ((!(safe_lshift_func_int16_t_s_u((safe_sub_func_uint32_t_u_u(1UL, (0x83C215D3L == 0xCD332B33L))), g_2050[5][4].f5))) > g_1836.f0)))), 21))))), p_18)))))
                    { /* block id: 1294 */
                        uint32_t l_3064 = 4294967295UL;
                        if (l_3001)
                            goto lbl_3063;
                        return l_3064;
                    }
                    else
                    { /* block id: 1297 */
                        return p_17;
                    }
                }
                (*g_73) = ((safe_add_func_uint32_t_u_u((g_2080 = (p_19 , ((safe_sub_func_uint32_t_u_u(((&g_1684 == (void*)0) || ((safe_div_func_uint16_t_u_u(p_17, 65526UL)) && (safe_add_func_uint32_t_u_u(p_19, p_19)))), (****l_2840))) > (safe_sub_func_int16_t_s_s(l_3075, 4UL))))), l_3076[5][3][0])) > p_19);
            }
        }
lbl_3374:
        for (g_495 = 2; (g_495 <= 7); g_495 += 1)
        { /* block id: 1307 */
            uint16_t *l_3081 = &g_1836.f0;
            int64_t *l_3085 = &g_1003;
            int32_t l_3092 = 6L;
            int32_t l_3124 = 0L;
            int32_t l_3125 = 0L;
            int32_t l_3126 = 0x73224DC8L;
            int32_t l_3127 = 0x3A712CDFL;
            int64_t l_3174 = 0xB96E90B23C58A294LL;
            uint32_t *****l_3193 = &l_2540;
            int16_t l_3218[9][6][4] = {{{0L,0xFF72L,0xB97FL,1L},{0xAB36L,0x66F5L,0xC9C7L,0x9EDBL},{(-9L),0x6E58L,0x9633L,0xAB36L},{0x9EDBL,(-2L),0xAB36L,0xB2A8L},{0x9E54L,0L,0x2F3EL,1L},{0x6E58L,0L,0x9E54L,0L}},{{0xB901L,0L,0L,0xB901L},{(-2L),0x9633L,0L,0L},{0x713BL,0xB2A8L,0L,0x25C0L},{0xEA13L,1L,0xA308L,0x25C0L},{0x58B5L,0xB2A8L,1L,0L},{1L,0x9633L,0x7C2FL,0xB901L}},{{0x8C09L,0L,0x3D00L,0L},{0L,0L,0x4138L,1L},{0x9AB7L,0L,0xC64EL,0xB2A8L},{0x66F5L,(-2L),(-9L),0xAB36L},{0x3D00L,0x6E58L,0x713BL,0x9EDBL},{0L,0x66F5L,0L,1L}},{{1L,0xFF72L,0xB2A8L,0xEC8FL},{0xC9C7L,0x25C0L,1L,0xFF72L},{0xD71AL,0xB97FL,1L,0x8C09L},{0xC9C7L,0x9D2AL,0xB2A8L,0x4138L},{1L,0xC9C7L,0L,0xA308L},{0x9633L,0xA308L,0x58B5L,1L}},{{0x713BL,0L,0xEC8FL,0xFF72L},{0xB901L,0xC9C7L,0x7C2FL,0x9EDBL},{0xEA13L,0xFF25L,0xC9C7L,0xEC8FL},{0xB2A8L,(-10L),0x713BL,0x713BL},{0L,0L,0x9EDBL,0x6E58L},{(-3L),0x3D00L,0L,1L}},{{0L,0x58B5L,(-10L),0L},{0xFF25L,0x58B5L,0xB2A8L,1L},{0x58B5L,0x3D00L,0L,0x6E58L},{0xB97FL,0L,1L,0x713BL},{(-9L),(-10L),(-2L),0xEC8FL},{0L,0xFF25L,0xA308L,0x9EDBL}},{{(-2L),0xC9C7L,0x3D00L,0xFF72L},{0L,0L,1L,1L},{0xEC8FL,0xA308L,0xD71AL,0xA308L},{0x3D00L,0xD71AL,1L,0xC9C7L},{1L,0x25C0L,0xEA13L,0L},{0x6E58L,1L,0xFF25L,0x9E54L}},{{0x6E58L,0xAB36L,0xEA13L,0x8C09L},{1L,0x9E54L,1L,1L},{0x3D00L,0xB901L,0xD71AL,0L},{0xEC8FL,0L,1L,0x3D00L},{0L,0xB97FL,0x3D00L,1L},{(-2L),0x2F3EL,0xA308L,(-3L)}},{{0L,0x9D2AL,(-2L),0L},{(-9L),1L,1L,(-9L)},{0xB97FL,1L,0L,0x9D2AL},{0x58B5L,1L,0xB2A8L,0xAB36L},{0xFF25L,1L,(-10L),0xAB36L},{0L,1L,0L,0x9D2AL}}};
            int32_t l_3240 = 6L;
            int32_t l_3241[5] = {0xEB677A55L,0xEB677A55L,0xEB677A55L,0xEB677A55L,0xEB677A55L};
            uint16_t l_3242 = 65535UL;
            int32_t **** const l_3326[7][10][3] = {{{&g_1646,&g_1646,&g_1646},{&g_1646,(void*)0,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,(void*)0,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,(void*)0},{(void*)0,&g_1646,&g_1646},{&g_1646,&g_1646,(void*)0},{&g_1646,&g_1646,&g_1646}},{{&g_1646,&g_1646,&g_1646},{(void*)0,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,(void*)0}},{{&g_1646,(void*)0,&g_1646},{&g_1646,&g_1646,&g_1646},{(void*)0,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,(void*)0},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,(void*)0,&g_1646}},{{(void*)0,&g_1646,&g_1646},{(void*)0,&g_1646,(void*)0},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,(void*)0,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,(void*)0}},{{&g_1646,&g_1646,&g_1646},{(void*)0,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,(void*)0,&g_1646},{&g_1646,&g_1646,(void*)0},{&g_1646,&g_1646,&g_1646},{(void*)0,&g_1646,(void*)0},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646}},{{&g_1646,&g_1646,(void*)0},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,(void*)0},{&g_1646,&g_1646,(void*)0},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{(void*)0,&g_1646,&g_1646},{(void*)0,&g_1646,(void*)0},{&g_1646,&g_1646,&g_1646}},{{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{&g_1646,&g_1646,(void*)0},{(void*)0,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646},{(void*)0,&g_1646,&g_1646},{&g_1646,&g_1646,&g_1646}}};
            int i, j, k;
        }
        if ((safe_mul_func_uint32_t_u_u(((((safe_rshift_func_int32_t_s_u(0x09FCF980L, (safe_add_func_uint8_t_u_u((((((safe_mod_func_int32_t_s_s((-1L), 0x98AB6C74L)) , (safe_mul_func_uint64_t_u_u((safe_mod_func_uint64_t_u_u((((safe_add_func_int16_t_s_s((safe_lshift_func_int16_t_s_s((safe_mul_func_int8_t_s_s(p_19, (safe_mod_func_uint64_t_u_u((((g_1836.f2 , &l_2540) == (void*)0) <= ((((**l_2589) != l_3367) | (****l_2840)) >= 8UL)), (*g_2691))))), 0)), 0x48F8L)) && (-1L)) , 0UL), 0x947DDBBD4F28450FLL)), p_17))) & p_17) , g_2475) | 0xC0L), l_3368[0])))) ^ p_17) > g_337.f7) , p_17), (****l_2840))))
        { /* block id: 1419 */
            const uint32_t l_3369 = 0x65F45FFAL;
            (*g_73) = l_3369;
        }
        else
        { /* block id: 1421 */
            int16_t l_3400 = 0xA5FEL;
            int32_t ***l_3401 = &g_72;
            int32_t l_3445 = 0x3D55DA91L;
            int32_t l_3446 = 0L;
            int32_t l_3447 = 0xCBE950CFL;
            int32_t l_3450 = 5L;
            int32_t l_3451 = 0x3DCE2869L;
            int32_t l_3452 = 0xBBB6EF87L;
            int32_t l_3453[5][5][9] = {{{(-2L),(-1L),1L,1L,(-1L),(-2L),(-1L),(-1L),0L},{(-1L),(-1L),1L,(-7L),0xC28EA647L,0x59B7677FL,(-2L),1L,0L},{(-7L),1L,(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)},{1L,1L,(-1L),(-2L),(-1L),(-1L),0L,0L,3L},{0xE217C988L,0x670A5756L,0L,0xC5788314L,0xC28EA647L,0xCF1A7591L,0x670A5756L,(-2L),(-2L)}},{{1L,0xE217C988L,0L,0xCF1A7591L,0L,0xE217C988L,1L,(-1L),(-1L)},{1L,0x670A5756L,0x59B7677FL,0xE217C988L,0xC5788314L,(-7L),(-1L),0x7B9F5920L,1L},{(-1L),(-2L),(-7L),(-1L),(-1L),0xC5788314L,0xC5788314L,(-1L),(-1L)},{1L,(-1L),1L,(-1L),(-1L),0xC5788314L,0xCF1A7591L,(-2L),0L},{0L,(-1L),(-1L),0x59B7677FL,0x7B9F5920L,(-7L),(-1L),(-7L),(-1L)}},{{0xC5788314L,0xC5FC9E8DL,0xE217C988L,(-1L),(-1L),0xE217C988L,0xC5FC9E8DL,0xC5788314L,1L},{1L,0xC5FC9E8DL,0x670A5756L,(-1L),0xC28EA647L,(-1L),(-1L),1L,(-1L)},{0xC5FC9E8DL,(-1L),(-2L),0xE217C988L,1L,0x59B7677FL,(-7L),0x59B7677FL,1L},{0xCF1A7591L,(-1L),(-1L),0xCF1A7591L,0xE217C988L,0x7B9F5920L,(-7L),1L,(-1L)},{0xE217C988L,(-2L),(-1L),0xC5FC9E8DL,(-1L),0x670A5756L,(-1L),(-7L),0L}},{{(-1L),0x670A5756L,0xC5FC9E8DL,1L,0xE217C988L,1L,0xC5FC9E8DL,0x670A5756L,(-1L)},{(-1L),0xE217C988L,0xC5FC9E8DL,0xC5788314L,1L,1L,(-1L),0L,1L},{0x59B7677FL,(-1L),(-1L),0L,0xC28EA647L,(-1L),0xCF1A7591L,0xCF1A7591L,(-1L)},{(-1L),1L,(-1L),1L,(-1L),(-1L),0xC5788314L,0xCF1A7591L,(-2L)},{(-1L),(-7L),(-2L),(-1L),0x7B9F5920L,0L,(-1L),0L,1L}},{{0xE217C988L,0x59B7677FL,0x670A5756L,1L,(-1L),(-1L),1L,0x670A5756L,0x59B7677FL},{0xCF1A7591L,0L,0xE217C988L,1L,(-1L),(-1L),0x670A5756L,(-7L),(-7L)},{0xC5FC9E8DL,(-7L),(-1L),(-1L),0xC5788314L,1L,0xC28EA647L,1L,0xC28EA647L},{1L,0L,1L,1L,0L,1L,(-2L),0x59B7677FL,0xC28EA647L},{0xC5788314L,0x59B7677FL,(-7L),0L,0xCF1A7591L,0x670A5756L,1L,1L,(-7L)}}};
            uint64_t l_3454 = 18446744073709551609UL;
            const int8_t ***l_3459 = (void*)0;
            const int8_t ****l_3458 = &l_3459;
            int8_t ***l_3480[7][8] = {{(void*)0,(void*)0,&l_3304[0],(void*)0,(void*)0,&l_3304[0],(void*)0,&l_3304[0]},{&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0]},{&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0]},{&l_3304[0],&l_3304[0],(void*)0,&l_3304[0],&l_3304[0],(void*)0,&l_3304[0],&l_3304[0]},{&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0]},{&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0],&l_3304[0]},{&l_3304[0],&l_3304[0],(void*)0,&l_3304[0],&l_3304[0],(void*)0,&l_3304[0],&l_3304[0]}};
            int8_t ****l_3481 = &l_3303;
            uint8_t l_3482 = 255UL;
            int32_t *l_3483 = &l_2897;
            int i, j, k;
            for (l_3107 = (-30); (l_3107 >= 8); l_3107 = safe_add_func_uint8_t_u_u(l_3107, 1))
            { /* block id: 1424 */
                struct S0 *l_3375[8][6] = {{&g_3384,&g_3382,&g_3376[0],&g_3376[0],&g_3382,&g_3384},{&g_3378,&g_3384,&g_3376[0],&g_3384,&g_3378,&g_3378},{&g_3380[0],&g_3384,&g_3384,&g_3380[0],&g_3382,&g_3380[0]},{&g_3380[0],&g_3382,&g_3380[0],&g_3384,&g_3384,&g_3380[0]},{&g_3378,&g_3378,&g_3384,&g_3376[0],&g_3384,&g_3378},{&g_3384,&g_3382,&g_3376[0],&g_3376[0],&g_3382,&g_3384},{&g_3378,&g_3384,&g_3376[0],&g_3384,&g_3378,&g_3378},{&g_3380[0],&g_3384,&g_3384,&g_3380[0],&g_3382,&g_3380[0]}};
                int32_t l_3386[10][1][5] = {{{0xAA0F9EEFL,0L,0xAA0F9EEFL,(-1L),(-1L)}},{{0x9C1D7E53L,0x166389ADL,0x9C1D7E53L,1L,0x66369E87L}},{{0xAA0F9EEFL,0L,0xAA0F9EEFL,(-1L),(-1L)}},{{0x9C1D7E53L,0x166389ADL,0x9C1D7E53L,1L,0x66369E87L}},{{0xAA0F9EEFL,0L,0xAA0F9EEFL,(-1L),(-1L)}},{{0x9C1D7E53L,0x166389ADL,0x9C1D7E53L,1L,0x66369E87L}},{{0xAA0F9EEFL,0L,0xAA0F9EEFL,(-1L),(-1L)}},{{0x9C1D7E53L,0x166389ADL,0x9C1D7E53L,1L,0x66369E87L}},{{0xAA0F9EEFL,0L,0xAA0F9EEFL,(-1L),(-1L)}},{{0x9C1D7E53L,0x166389ADL,0x9C1D7E53L,1L,0x66369E87L}}};
                int32_t l_3399[10][5] = {{0xAE53AF58L,1L,0xAE53AF58L,0L,0L},{9L,1L,9L,1L,0x62784F46L},{0xAE53AF58L,1L,0xAE53AF58L,0L,0L},{9L,1L,9L,1L,0x62784F46L},{0xAE53AF58L,1L,0xAE53AF58L,0L,0L},{9L,1L,9L,1L,0x62784F46L},{0xAE53AF58L,1L,0xAE53AF58L,0L,0L},{9L,1L,9L,1L,0x62784F46L},{0xAE53AF58L,1L,0xAE53AF58L,0L,0xAE53AF58L},{0L,(-2L),0L,0x681C494AL,9L}};
                int32_t l_3418[2];
                int32_t *l_3443 = &l_2898;
                int32_t *l_3448 = &g_279;
                int32_t *l_3449[2];
                int8_t *****l_3457[1];
                int i, j, k;
                for (i = 0; i < 2; i++)
                    l_3418[i] = 0x1480D149L;
                for (i = 0; i < 2; i++)
                    l_3449[i] = (void*)0;
                for (i = 0; i < 1; i++)
                    l_3457[i] = (void*)0;
                if ((****g_1645))
                { /* block id: 1425 */
                    int64_t *l_3397 = &g_404.f5;
                    int32_t l_3398 = 1L;
                    int64_t l_3408 = 5L;
                    for (l_3012 = 0; (l_3012 >= 53); l_3012++)
                    { /* block id: 1428 */
                        int32_t *l_3385[8][9][3] = {{{&l_3344,&g_8,(void*)0},{&l_2896,&l_2896,&l_2898},{&l_2973[4][2][5],&l_2970,&l_3159},{&l_3219,&l_2897,&l_3159},{&l_2969,&g_279,&l_2898},{(void*)0,&g_49[2][1],(void*)0},{&l_3219,&l_2969,(void*)0},{&l_2970,&l_3219,&l_2896},{&l_3219,&l_2896,&l_3159}},{{&l_2400,(void*)0,&l_2970},{&l_3219,&g_49[2][1],&g_3},{&l_2970,&l_2400,&l_2898},{&l_3219,&l_2896,&l_2896},{(void*)0,&l_2969,&l_2897},{&l_2969,&g_8,&l_3219},{&l_3219,&g_8,&g_279},{&l_2973[4][2][5],&l_2969,&l_2970},{&l_2896,&l_2896,&l_3159}},{{&l_3344,&l_2400,&l_3159},{&l_2896,&g_49[2][1],&l_3219},{(void*)0,(void*)0,&l_3219},{&l_2970,&l_2896,&l_3219},{&l_2896,&l_3219,&l_3159},{&l_2970,&l_2969,&l_3159},{&l_2897,&g_49[2][1],&l_2970},{&l_3344,&g_279,&g_279},{&l_3219,&l_2897,&l_3219}},{{&l_3219,&l_2970,&l_2897},{&l_3344,&l_2896,&l_2896},{&l_2897,&g_8,&l_2898},{&l_2970,(void*)0,&g_3},{&l_2896,&l_2897,&l_2970},{&l_2970,&l_2973[4][2][5],&l_3159},{(void*)0,&l_2897,&l_2896},{&l_2896,(void*)0,(void*)0},{&l_3344,&g_8,(void*)0}},{{&l_2896,&l_2896,&l_2898},{&l_2973[4][2][5],&l_2970,&l_3159},{&l_3219,&l_2897,&l_3159},{&l_2969,&g_279,&l_2898},{(void*)0,&g_49[2][1],(void*)0},{&l_3219,&l_2969,(void*)0},{&l_2970,&l_3219,&l_2896},{&l_3219,&l_2896,&l_3159},{&l_2400,(void*)0,&l_2970}},{{&l_3219,&g_49[2][1],&g_3},{&l_2970,&l_2400,&l_2898},{&l_3219,&l_2896,&l_2896},{(void*)0,&l_2969,&l_2897},{&l_2969,&g_8,&l_3219},{&l_3219,&g_8,&g_279},{&l_2973[4][2][5],&l_2969,&l_2970},{&l_2896,&l_2896,&l_3159},{&l_3344,&l_2400,&l_3159}},{{&l_2896,&g_49[2][1],&l_3219},{(void*)0,(void*)0,&l_3219},{&l_2970,&l_2896,&l_3219},{&l_2896,&l_3219,&l_3159},{&l_2970,&l_2969,&l_3159},{&l_2897,&g_49[2][1],&l_2970},{&l_3344,&g_279,&g_279},{&l_3219,&l_2897,&g_279},{&l_2400,&l_2896,&g_279}},{{&l_3219,&l_2970,&l_2970},{&g_279,&l_2973[4][2][5],&g_8},{&l_2898,&l_3219,(void*)0},{&l_3159,&g_279,&g_49[2][1]},{&l_2896,&l_3159,&g_3},{&l_3162[1],&g_279,&l_2970},{&l_2970,&l_3219,&l_2973[3][4][1]},{&l_3219,&l_2973[4][2][5],&l_3162[1]},{&l_3159,&l_2970,&g_8}}};
                        int i, j, k;
                        (****g_1645) |= (-1L);
                        if (l_2782)
                            goto lbl_3374;
                        if ((**g_72))
                            break;
                        l_3386[7][0][4] = ((****l_2840) = (l_3375[2][1] == g_271));
                    }
                    if ((l_3398 = (0x6D38L || (safe_mod_func_uint16_t_u_u((((l_3400 |= ((****g_1723) |= ((((((((((***g_1646) &= 0x3447CC9BL) , (void*)0) != ((safe_rshift_func_uint32_t_u_u(((g_541[5].f5 = (safe_mul_func_uint32_t_u_u((safe_mod_func_uint64_t_u_u(18446744073709551615UL, ((*l_3397) &= (safe_lshift_func_uint32_t_u_u((p_17 && 8L), 1))))), l_3398))) == (l_3108[2][9][4] == p_18)), 7)) , (void*)0)) >= 0UL) , 4294967295UL) || (****l_2840)) > p_18) || 0x7F1979C2L) > l_3399[6][4]))) && (-10L)) , p_17), l_3399[6][4])))))
                    { /* block id: 1441 */
                        return p_19;
                    }
                    else
                    { /* block id: 1443 */
                        (***l_3401) = (((l_3401 == ((*g_1645) = (*g_1645))) > p_18) != (safe_add_func_int64_t_s_s(0xDA33C85581190A33LL, ((safe_mul_func_uint16_t_u_u(l_3399[6][3], ((*l_2447) != &p_17))) >= (safe_div_func_uint8_t_u_u(((l_3408 , ((((l_3408 || p_17) , p_19) , 0xFE2B03DAA65E9BFCLL) && 3L)) && p_19), (-1L)))))));
                        return (*g_1361);
                    }
                }
                else
                { /* block id: 1448 */
                    uint32_t l_3415 = 0x69F062EBL;
                    uint8_t ** const *l_3439 = &g_1725;
                    uint8_t ** const **l_3438 = &l_3439;
                    uint8_t ** const ** const *l_3437 = &l_3438;
                    int32_t *l_3444 = &l_2973[3][4][1];
                    for (g_404.f5 = 0; (g_404.f5 <= 4); g_404.f5 += 1)
                    { /* block id: 1451 */
                        int32_t *l_3409 = &l_2386[3];
                        int32_t *l_3410 = &l_3399[1][0];
                        int32_t *l_3411 = (void*)0;
                        int32_t *l_3412 = (void*)0;
                        int32_t *l_3413 = (void*)0;
                        int32_t *l_3414[7];
                        int i;
                        for (i = 0; i < 7; i++)
                            l_3414[i] = &l_2973[4][2][5];
                        l_3415++;
                        if (l_2977[(g_404.f5 + 3)])
                            break;
                    }
                    l_3418[1] |= p_17;
                    if (((****g_1645) = (-1L)))
                    { /* block id: 1457 */
                        uint16_t l_3424 = 65535UL;
                        uint16_t *l_3432 = &g_126[0][1][0];
                        (****l_2840) = ((l_3419 & g_3379[1][5][0].f7) <= (safe_lshift_func_int32_t_s_u((safe_sub_func_int16_t_s_s((&g_2691 != (l_3424 , l_2867[5][2][2])), (((safe_mod_func_uint32_t_u_u((safe_unary_minus_func_uint64_t_u((p_19 != (0xC9861BFB28650EE2LL & p_19)))), (safe_sub_func_uint64_t_u_u(((((((*l_3432) = ((((safe_sub_func_int16_t_s_s(l_3424, g_3377.f2)) >= (-2L)) != p_19) >= (****l_2840))) | (****l_2840)) != l_3415) != l_3424) & p_17), p_18)))) == p_18) , p_18))), 25)));
                        (****l_2840) = (p_18 & (safe_lshift_func_uint64_t_u_u((0x7FAC1EDDL <= (-2L)), 14)));
                        l_3443 = (((l_3415 & (l_3399[8][2] &= (((((safe_lshift_func_uint8_t_u_s(p_17, 6)) , l_3437) == l_3440[1]) == 0x67EB8B111EEC311DLL) ^ (safe_lshift_func_int8_t_s_s((&l_2847 == (void*)0), (****l_2840)))))) , ((****l_2840) = p_18)) , (**g_1646));
                    }
                    else
                    { /* block id: 1464 */
                        (***g_1645) = l_3444;
                        return p_18;
                    }
                }
                ++l_3454;
                g_271 = g_271;
                l_3458 = (void*)0;
            }
            (*l_3483) = ((safe_rshift_func_int8_t_s_u((((*l_2447) = (*l_2447)) != ((((p_17 ^ (((0xD32DL >= p_19) > ((safe_div_func_int64_t_s_s(((safe_sub_func_uint32_t_u_u(((safe_lshift_func_uint16_t_u_s((safe_div_func_int64_t_s_s(((g_892 ^= (((*g_930) = ((safe_mod_func_uint8_t_u_u(0x4BL, (safe_sub_func_int32_t_s_s(p_17, ((safe_rshift_func_int16_t_s_s((safe_sub_func_int64_t_s_s((safe_add_func_int32_t_s_s(((*g_73) ^= p_18), (&l_3304[1] == ((*l_3481) = ((p_17 > p_19) , l_3480[3][2]))))), 0xDF576DAE4159A5F8LL)), p_17)) != 0x0CL))))) , (void*)0)) == (void*)0)) , (***l_3401)), g_994)), l_3447)) ^ p_19), l_3482)) && 0x02290653FB27C606LL), 0xFFD9205836F2DAC2LL)) & p_17)) > p_17)) < l_2969) , g_3106) , &p_17)), 3)) != p_17);
            (***l_3401) = (****l_2840);
        }
    }
    for (l_3258 = 0; (l_3258 < 7); l_3258 = safe_add_func_int32_t_s_s(l_3258, 8))
    { /* block id: 1484 */
        uint8_t l_3487[2];
        int32_t l_3488[3];
        int i;
        for (i = 0; i < 2; i++)
            l_3487[i] = 8UL;
        for (i = 0; i < 3; i++)
            l_3488[i] = 0xD8AE1171L;
        (**g_1646) = func_37((((p_18 != l_3486) && 18446744073709551611UL) != p_18), l_3487[0], (l_3488[0] = 0x3C548FC8L), (*g_2691), l_3487[0]);
        l_3488[1] = l_3487[0];
    }
    l_3508 = (((p_17 < ((*l_3507) = (safe_lshift_func_uint16_t_u_u((((+p_17) ^ (((((safe_mul_func_int32_t_s_s((safe_mul_func_uint64_t_u_u((((*l_3496) = g_3383.f5) <= (((safe_add_func_uint32_t_u_u((g_205 = (safe_rshift_func_uint32_t_u_s((p_17 ^ ((safe_mod_func_uint64_t_u_u(p_18, ((safe_unary_minus_func_int8_t_s(((void*)0 != l_3504))) & ((****g_1645) >= ((safe_rshift_func_uint64_t_u_s(p_18, p_17)) == 1L))))) == p_19)), 20))), 9L)) && 0x856F877D7628D116LL) , p_18)), 3UL)), p_19)) & (**g_72)) , l_2469) || 0x2F2D97D9L) != 0xACL)) , 9UL), 11)))) , l_3252) , (void*)0);
    return p_19;
}


/* ------------------------------------------ */
/* 
 * reads : g_57 g_1646 g_72 g_73 g_8 g_733.f0 g_2354 g_543.f7 g_1012
 * writes: g_57 g_1276 g_1012 g_215
 */
static int8_t  func_28(const int32_t * p_29, int32_t * p_30, int32_t * p_31, int32_t  p_32)
{ /* block id: 1005 */
    int32_t ****l_2339 = &g_1646;
    int32_t l_2340 = 0L;
    int32_t **l_2344 = &g_1068[3];
    int32_t ***l_2343 = &l_2344;
    int8_t *l_2350 = &g_1276[2];
    int16_t *l_2355 = &g_1012;
    uint64_t *l_2356[6][9][4] = {{{&g_1005,&g_360,&g_215,&g_360},{&g_1005,&g_358,&g_388,&g_360},{&g_215,&g_215,&g_215,&g_1005},{&g_215,&g_215,&g_358,&g_215},{&g_388,&g_1005,&g_215,&g_358},{&g_215,&g_388,&g_215,&g_388},{&g_388,&g_215,&g_358,&g_388},{&g_360,&g_1005,&g_360,&g_358},{&g_1005,&g_388,&g_1005,&g_215}},{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,&g_360,&g_215,&g_1005},{&g_388,(void*)0,&g_388,(void*)0},{&g_358,&g_358,&g_215,&g_360},{&g_358,&g_215,&g_360,&g_358},{(void*)0,&g_388,&g_388,&g_358},{&g_358,&g_360,&g_215,&g_215},{&g_358,&g_215,&g_358,&g_215},{(void*)0,&g_360,&g_1005,&g_388}},{{(void*)0,&g_358,&g_388,&g_358},{&g_1005,&g_1005,&g_360,&g_360},{&g_1005,(void*)0,&g_388,&g_215},{(void*)0,&g_360,&g_1005,&g_358},{(void*)0,&g_358,&g_358,&g_388},{&g_358,&g_388,&g_215,&g_215},{&g_358,&g_388,&g_388,&g_215},{(void*)0,&g_358,&g_360,&g_215},{&g_358,&g_358,&g_215,(void*)0}},{{&g_358,&g_358,&g_388,&g_388},{&g_388,&g_388,&g_215,&g_360},{(void*)0,&g_388,(void*)0,&g_360},{(void*)0,&g_388,&g_1005,&g_1005},{&g_1005,&g_215,&g_360,&g_1005},{&g_360,&g_388,&g_358,(void*)0},{&g_388,(void*)0,&g_215,&g_215},{&g_215,(void*)0,&g_215,(void*)0},{&g_388,&g_358,&g_358,&g_1005}},{{&g_215,&g_388,&g_215,(void*)0},{&g_215,&g_358,&g_388,(void*)0},{&g_1005,(void*)0,&g_215,&g_215},{&g_1005,&g_1005,(void*)0,&g_388},{&g_1005,&g_215,(void*)0,&g_215},{&g_358,&g_1005,&g_388,(void*)0},{&g_358,&g_1005,&g_360,&g_215},{&g_1005,&g_215,&g_1005,&g_388},{(void*)0,&g_360,(void*)0,&g_358}},{{&g_215,(void*)0,&g_358,&g_360},{&g_388,&g_215,&g_1005,&g_388},{&g_215,&g_388,(void*)0,&g_388},{&g_358,&g_388,&g_358,&g_388},{&g_215,&g_360,&g_360,&g_1005},{&g_215,&g_358,&g_1005,&g_358},{&g_358,&g_360,&g_388,&g_1005},{&g_360,&g_215,&g_388,&g_215},{&g_1005,&g_358,&g_1005,&g_360}}};
    int16_t *l_2357[7][9][4] = {{{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350}},{{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350}},{{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350}},{{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350}},{{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350}},{{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350}},{{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350},{&g_350,&g_350,&g_350,&g_350}}};
    int i, j, k;
    (*p_31) ^= ((l_2339 = (void*)0) != (void*)0);
    (***g_1646) = (l_2340 && l_2340);
    (**g_72) |= ((l_2340 = (safe_mod_func_uint8_t_u_u((((((*g_1646) != ((*l_2343) = &p_30)) , ((((**l_2344) == (((safe_mod_func_uint64_t_u_u((g_215 = (safe_mod_func_uint8_t_u_u((!0x85B01B43F70AA894LL), (((((*l_2350) = g_733.f0) || p_32) <= ((safe_add_func_int8_t_s_s((((*l_2355) ^= (safe_unary_minus_func_uint32_t_u((((g_2354 , 7UL) ^ (0x56451BF52D40B248LL || g_543.f7)) | (**l_2344))))) , (-7L)), 253UL)) || p_32)) || (-1L))))), 0xC4F325F45BF993C5LL)) <= (-1L)) >= 0xFFL)) != 0x2B4BL) >= 1UL)) >= 0x5BDBB45C83543AC0LL) >= 0xA5BBL), 0x2FL))) || 0x9833L);
    return p_32;
}


/* ------------------------------------------ */
/* 
 * reads : g_57 g_1646 g_72 g_73
 * writes: g_57
 */
static int32_t * func_35(int32_t * p_36)
{ /* block id: 26 */
    int64_t l_87 = 0xEDDC8DEE7960B978LL;
    int32_t *l_111 = &g_3;
    struct S0 *l_1835 = &g_1836;
    uint32_t ** const *l_1864 = &g_931;
    int8_t l_1893 = 0xEBL;
    int32_t l_1897 = 0x82A7D291L;
    int32_t l_1922 = 0x74B77968L;
    int32_t l_1953[8][10][3] = {{{2L,9L,0xDD91091DL},{0L,0L,0xEFD90589L},{0x1C72CC57L,(-1L),(-2L)},{0L,0xDD91091DL,2L},{4L,0x8E6A10ABL,0x816FFD81L},{0L,0L,4L},{0L,1L,6L},{0x7E4AC35DL,0x58BBC292L,0x95B5772FL},{0x5E3C4715L,0xDD91091DL,(-1L)},{0xED03AEEBL,(-3L),1L}},{{(-1L),0x71D3CDFCL,1L},{0x816FFD81L,(-3L),0L},{(-1L),0x5194A72AL,0x8825791DL},{0x526E4A0BL,4L,0x957A6771L},{0x526E4A0BL,0xC95D0362L,0x816FFD81L},{(-1L),(-8L),9L},{0x816FFD81L,0xFC6BBA6FL,0x6155A429L},{(-1L),0xFE99945CL,(-1L)},{0xED03AEEBL,1L,(-2L)},{0x5E3C4715L,0x1E15F541L,0xB40106CEL}},{{0x7E4AC35DL,0xA9F9DBC4L,0L},{0L,0xCF4FAF9FL,(-1L)},{0L,0x5194A72AL,(-1L)},{4L,9L,(-2L)},{0x25ED96B7L,0xC1051CE5L,0x8825791DL},{0L,0x8825791DL,2L},{0x6F5CD066L,0x5E3C4715L,3L},{0x51049EFBL,0x1D6E04ABL,0x957A6771L},{9L,0xCA1B731BL,0x44549ED2L},{(-9L),(-9L),(-2L)}},{{(-1L),0L,(-1L)},{2L,0x5E3C4715L,(-7L)},{2L,0xC95D0362L,1L},{0xFC1727FAL,2L,(-7L)},{4L,(-8L),(-1L)},{(-2L),0xBF6349BCL,(-2L)},{0x6F7DB91CL,0xCE3F0393L,0x44549ED2L},{(-1L),0xAF4ADBF3L,0x957A6771L},{0xDD91091DL,(-1L),3L},{4L,0xDD6B0CFAL,2L}},{{9L,0x9BF62DC7L,0x8825791DL},{0x89F9D5E5L,0L,0L},{0x9C26660FL,(-3L),9L},{0L,(-2L),(-4L)},{(-9L),0xC0F75984L,0xCA1B731BL},{2L,0xBF6349BCL,0L},{(-1L),0x1E15F541L,0L},{0x799C9EC5L,4L,6L},{(-8L),0x8825791DL,0L},{0x25ED96B7L,0x71D3CDFCL,0x95B5772FL}},{{0x51049EFBL,0L,0xBF6349BCL},{0x1C72CC57L,(-3L),0x44549ED2L},{0xC5E50563L,(-3L),0xC8AAE506L},{0L,0L,(-1L)},{0xC1051CE5L,0x71D3CDFCL,0x7E4AC35DL},{2L,0x8825791DL,0x9BF62DC7L},{0L,4L,(-7L)},{0x957A6771L,0x1E15F541L,0xEFD90589L},{0xDD91091DL,0xBF6349BCL,0xFE99945CL},{3L,0xC0F75984L,0x89F9D5E5L}},{{(-1L),(-2L),0xBF6349BCL},{3L,(-3L),3L},{0x957A6771L,0L,0x9C26660FL},{0xFC1727FAL,0x9BF62DC7L,(-7L)},{0xC0F75984L,0xDD6B0CFAL,(-2L)},{0x9C26660FL,(-1L),0L},{0x01585D8FL,0xAF4ADBF3L,(-4L)},{0xC5E50563L,0xCE3F0393L,0xC5E50563L},{9L,0xBF6349BCL,8L},{0xB40106CEL,(-8L),(-2L)}},{{0x799C9EC5L,2L,0x8825791DL},{0x95B5772FL,0xC95D0362L,0L},{0x799C9EC5L,0x5E3C4715L,0L},{0xB40106CEL,0L,0xCF4FAF9FL},{9L,(-9L),0x89F9D5E5L},{0xC5E50563L,0xCA1B731BL,(-2L)},{0x01585D8FL,0x1D6E04ABL,(-1L)},{0x9C26660FL,0x5E3C4715L,(-2L)},{0xC0F75984L,0x8825791DL,1L},{0xFC1727FAL,0xC1051CE5L,0x7E4AC35DL}}};
    uint32_t l_2003 = 18446744073709551615UL;
    uint8_t l_2019 = 0x5BL;
    const uint8_t *l_2047 = &g_24[1][5][1];
    const uint8_t **l_2046[7][2];
    const uint8_t ***l_2045 = &l_2046[2][0];
    uint32_t *****l_2067 = (void*)0;
    int8_t l_2094 = (-1L);
    int64_t *l_2214 = (void*)0;
    int64_t **l_2213 = &l_2214;
    int16_t ****l_2217 = &g_1697;
    const uint32_t **l_2336 = (void*)0;
    int i, j, k;
    for (i = 0; i < 7; i++)
    {
        for (j = 0; j < 2; j++)
            l_2046[i][j] = &l_2047;
    }
    for (g_57[1][0] = 1; (g_57[1][0] >= 0); g_57[1][0] -= 1)
    { /* block id: 29 */
        uint8_t l_71[9][5][5] = {{{0x4AL,0UL,0x02L,0x02L,0UL},{5UL,252UL,0x74L,252UL,5UL},{0UL,0x02L,0x02L,0UL,0x4AL},{0x4DL,252UL,0x4DL,0xFCL,0x4DL},{0UL,0UL,1UL,0x02L,0x4AL}},{{5UL,0xFCL,0x74L,0xFCL,5UL},{0x4AL,0x02L,1UL,0UL,0UL},{0x4DL,0xFCL,0x4DL,252UL,0x4DL},{0x4AL,0UL,0x02L,0x02L,0UL},{5UL,252UL,0x74L,252UL,5UL}},{{0UL,0x02L,0x02L,0UL,0x4AL},{0x4DL,252UL,0x4DL,0xFCL,0x4DL},{0UL,0UL,1UL,0x02L,0x4AL},{5UL,0xFCL,0x74L,0xFCL,5UL},{0x4AL,0x02L,1UL,0UL,0UL}},{{0x4DL,0xFCL,0x4DL,252UL,0x4DL},{0x4AL,0UL,0x02L,0x02L,0UL},{5UL,252UL,0x74L,252UL,5UL},{0UL,0x02L,0x02L,0UL,0x4AL},{0x4DL,252UL,0x4DL,0xFCL,0x4DL}},{{0UL,0UL,1UL,0x02L,0x4AL},{5UL,0xFCL,0x74L,0xFCL,5UL},{0x4AL,0x02L,1UL,0UL,0UL},{0x4DL,0xFCL,0x4DL,252UL,0x4DL},{0x4AL,0UL,0x02L,0x02L,0UL}},{{5UL,252UL,0x74L,252UL,5UL},{0UL,0x02L,0x02L,0UL,0x4AL},{0x4DL,252UL,0x4DL,0xFCL,0x4DL},{0UL,0UL,1UL,0x02L,0x4AL},{5UL,0xFCL,0x74L,0xFCL,5UL}},{{0x4AL,0x02L,1UL,0UL,0UL},{0x4DL,0xFCL,0x4DL,252UL,0x4DL},{0x4AL,0UL,0x02L,0x02L,0UL},{5UL,252UL,0x74L,252UL,5UL},{0UL,0x02L,0x02L,0UL,0x4AL}},{{0x4DL,252UL,0x4DL,0xFCL,0x4DL},{0UL,0UL,1UL,0x02L,0x4AL},{5UL,0xFCL,0x74L,0xFCL,5UL},{0x4AL,0x02L,1UL,0UL,0UL},{0x4DL,0xFCL,0x4DL,252UL,0x4DL}},{{0x4AL,0UL,0x02L,0x02L,0UL},{5UL,252UL,0x74L,252UL,5UL},{0UL,0x02L,0x02L,0UL,0x4AL},{0x4DL,252UL,0x4DL,0xFCL,0x4DL},{0UL,0UL,1UL,0x02L,0x4AL}}};
        int32_t **l_85 = &g_73;
        int32_t **l_86[2];
        uint32_t *** const l_1863[7] = {&g_931,&g_931,&g_931,&g_931,&g_931,&g_931,&g_931};
        int32_t l_1925 = 0x60222CEDL;
        const uint8_t *l_1937 = &g_1938;
        const uint8_t *l_1939[8][4][2] = {{{&g_1936[1],&g_1938},{(void*)0,&g_1938},{(void*)0,&g_1936[1]},{&g_1938,&g_1938}},{{&g_1938,(void*)0},{(void*)0,(void*)0},{&g_1936[0],&g_1938},{(void*)0,&g_1938}},{{&g_1938,(void*)0},{&g_1938,&g_1936[1]},{(void*)0,&g_1936[0]},{&g_1938,&g_1936[2]}},{{&g_1936[1],(void*)0},{&g_1938,&g_1938},{(void*)0,&g_1938},{&g_1938,(void*)0}},{{&g_1936[1],&g_1936[2]},{&g_1938,&g_1936[0]},{(void*)0,&g_1936[1]},{&g_1938,(void*)0}},{{&g_1938,&g_1938},{(void*)0,&g_1938},{&g_1936[0],(void*)0},{(void*)0,(void*)0}},{{&g_1938,&g_1938},{&g_1938,&g_1936[1]},{(void*)0,&g_1938},{(void*)0,&g_1938}},{{&g_1936[1],(void*)0},{&g_1938,&g_1936[2]},{&g_1938,(void*)0},{&g_1936[1],&g_1938}}};
        int16_t l_1946 = 7L;
        uint32_t l_1961[7][3][1] = {{{1UL},{18446744073709551611UL},{0xEBEDDFA2L}},{{18446744073709551611UL},{1UL},{1UL}},{{18446744073709551611UL},{0xEBEDDFA2L},{18446744073709551611UL}},{{1UL},{1UL},{18446744073709551611UL}},{{0xEBEDDFA2L},{18446744073709551611UL},{1UL}},{{1UL},{18446744073709551611UL},{0xEBEDDFA2L}},{{18446744073709551611UL},{1UL},{1UL}}};
        uint16_t l_2048 = 65529UL;
        uint64_t l_2064 = 0xDC07262726E94FA0LL;
        uint8_t ***l_2088 = &g_1725;
        uint32_t **l_2153 = &g_1519;
        uint32_t ***l_2152[9][8][3] = {{{&l_2153,(void*)0,&l_2153},{(void*)0,&l_2153,&l_2153},{(void*)0,&l_2153,(void*)0},{&l_2153,&l_2153,&l_2153},{(void*)0,&l_2153,&l_2153},{&l_2153,&l_2153,(void*)0},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153}},{{&l_2153,(void*)0,&l_2153},{(void*)0,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{(void*)0,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,(void*)0,&l_2153},{&l_2153,&l_2153,&l_2153}},{{(void*)0,&l_2153,&l_2153},{&l_2153,(void*)0,&l_2153},{(void*)0,(void*)0,&l_2153},{(void*)0,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153}},{{(void*)0,(void*)0,&l_2153},{&l_2153,(void*)0,(void*)0},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,(void*)0,(void*)0},{&l_2153,&l_2153,(void*)0},{&l_2153,(void*)0,(void*)0},{(void*)0,&l_2153,&l_2153}},{{&l_2153,&l_2153,(void*)0},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,(void*)0},{(void*)0,&l_2153,(void*)0},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153}},{{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,(void*)0},{(void*)0,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{(void*)0,(void*)0,&l_2153},{&l_2153,&l_2153,(void*)0}},{{&l_2153,&l_2153,(void*)0},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,(void*)0},{&l_2153,&l_2153,(void*)0},{&l_2153,&l_2153,&l_2153},{(void*)0,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,(void*)0,&l_2153}},{{&l_2153,&l_2153,&l_2153},{(void*)0,&l_2153,(void*)0},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,(void*)0}},{{&l_2153,(void*)0,(void*)0},{(void*)0,&l_2153,&l_2153},{&l_2153,&l_2153,(void*)0},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,(void*)0},{(void*)0,&l_2153,(void*)0},{&l_2153,&l_2153,&l_2153},{&l_2153,&l_2153,&l_2153}}};
        uint8_t l_2170 = 0UL;
        const int32_t l_2263 = 0L;
        uint16_t l_2270 = 0x3100L;
        int16_t l_2319 = 0x9C95L;
        int32_t l_2321 = (-7L);
        int i, j, k;
        for (i = 0; i < 2; i++)
            l_86[i] = &g_73;
    }
    return (**g_1646);
}


/* ------------------------------------------ */
/* 
 * reads :
 * writes: g_49
 */
static int32_t * func_37(uint8_t  p_38, int8_t  p_39, uint32_t  p_40, uint64_t  p_41, const int32_t  p_42)
{ /* block id: 17 */
    int32_t *l_50 = &g_49[3][1];
    int32_t *l_51[10];
    int32_t l_52 = (-1L);
    uint16_t l_53 = 0x440AL;
    int i;
    for (i = 0; i < 10; i++)
        l_51[i] = &g_49[3][1];
    for (p_39 = (-27); (p_39 >= (-29)); --p_39)
    { /* block id: 20 */
        int32_t *l_48 = &g_49[0][4];
        (*l_48) = 5L;
    }
    --l_53;
    return &g_3;
}


/* ------------------------------------------ */
/* 
 * reads : g_314 g_107 g_488 g_404.f5 g_45 g_930 g_272.f6 g_404.f0 g_543.f0 g_733.f0 g_3 g_337.f6 g_72 g_897.f2 g_897.f5 g_272.f2 g_733.f2 g_73 g_404.f7 g_360 g_495 g_483 g_725 g_897.f7 g_461 g_1225 g_556 g_557 g_730.f7 g_24 g_1236 g_161 g_543.f5 g_126 g_337.f0 g_1276 g_337.f2 g_1003 g_102 g_1296 g_404.f6 g_733.f5 g_1357 g_1363 g_272.f0 g_543.f7 g_269.f5 g_994 g_1410 g_892 g_1361 g_49 g_279 g_57 g_897.f6 g_932 g_1516 g_543.f2 g_1005 g_250 g_541.f2 g_142 g_1591 g_205 g_897.f0 g_269.f2 g_1624 g_404.f2 g_541.f7 g_1646 g_1684 g_1697 g_1364 g_1365 g_1012 g_1241 g_350 g_1723 g_272.f5 g_269.f6 g_271 g_1724 g_1725
 * writes: g_107 g_314 g_404.f5 g_931 g_102 g_892 g_24 g_1068 g_488 g_495 g_73 g_49 g_215 g_337.f0 g_1276 g_360 g_461 g_269.f5 g_279 g_350 g_543.f5 g_994 g_358 g_1005 g_72 g_1624 g_1645 g_1684 g_1236 g_1697 g_1709 g_1723 g_272.f5 g_388 g_541.f5 g_725 g_1241 g_271 g_272.f0
 */
static int32_t  func_60(int16_t  p_61, uint32_t * p_62, int32_t  p_63, uint32_t  p_64, uint8_t  p_65)
{ /* block id: 495 */
    int32_t l_1145 = 0x71F35120L;
    int32_t l_1146[7][8] = {{1L,(-3L),1L,(-3L),1L,(-3L),1L,(-3L)},{1L,(-3L),1L,(-3L),1L,(-3L),1L,(-3L)},{1L,(-3L),1L,(-3L),1L,(-3L),1L,(-3L)},{1L,(-3L),1L,(-3L),1L,(-3L),1L,(-3L)},{1L,(-3L),1L,(-3L),1L,(-3L),1L,(-3L)},{1L,(-3L),1L,(-3L),1L,(-3L),1L,(-3L)},{1L,(-3L),1L,(-3L),1L,(-3L),1L,(-3L)}};
    int32_t *l_1147 = &g_279;
    struct S0 **l_1169 = &g_271;
    int16_t l_1188 = 0xC191L;
    uint64_t l_1194 = 0x1472FDB8B5F23A57LL;
    uint8_t l_1282 = 4UL;
    uint16_t *l_1299 = &g_337.f0;
    const uint32_t *l_1339[8] = {(void*)0,&g_45[5][1][1],&g_45[5][1][1],(void*)0,&g_45[5][1][1],&g_45[5][1][1],&g_45[5][1][1],&g_45[1][2][1]};
    const uint32_t **l_1338 = &l_1339[5];
    uint32_t **l_1340 = &g_932;
    uint8_t * const ****l_1367 = &g_1364;
    uint16_t l_1469 = 0xDDAEL;
    int32_t l_1470 = 0x4B26A8D4L;
    int64_t l_1475[1];
    int64_t l_1530 = 0x9BD4D2EB212E8FB2LL;
    uint32_t *** const *l_1548 = &g_930;
    uint32_t *** const **l_1547[9][8] = {{&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548},{&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548},{&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548},{&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548},{&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548},{&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548},{&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548},{&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548},{&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548,&l_1548}};
    uint32_t l_1612 = 4294967292UL;
    int64_t l_1627 = 0x51B236430375E789LL;
    int32_t ***l_1633 = &g_72;
    int32_t ****l_1632 = &l_1633;
    int8_t *l_1746 = (void*)0;
    uint32_t l_1756[9] = {0xD1BDEB50L,0xD1BDEB50L,0xD1BDEB50L,0xD1BDEB50L,0xD1BDEB50L,0xD1BDEB50L,0xD1BDEB50L,0xD1BDEB50L,0xD1BDEB50L};
    uint8_t ** const *l_1806 = &g_1725;
    uint8_t ** const **l_1805 = &l_1806;
    uint16_t l_1809[3][1];
    int8_t l_1827 = 0x51L;
    int i, j;
    for (i = 0; i < 1; i++)
        l_1475[i] = 0x383253C8987CF1F0LL;
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 1; j++)
            l_1809[i][j] = 0xC4FAL;
    }
lbl_1710:
    l_1146[0][7] |= l_1145;
    l_1147 = p_62;
    for (g_107 = 0; (g_107 <= 1); g_107 += 1)
    { /* block id: 500 */
        int64_t l_1151[4][6][7] = {{{0x0265FA3818B036EELL,2L,0L,0L,0xC8C144D97B7BEF83LL,0x0265FA3818B036EELL,0L},{0L,(-1L),0x008527AF9C1B5D70LL,0x1A5D04CEEC681087LL,0x4900288481D159BCLL,0x32F193FDE79B4C9ALL,0x7E4C0A2F0359B483LL},{0xAF2E6DBEEADBF0E6LL,0xACEC0FD8CF70EC23LL,3L,0L,0x4ADCC7E1E94C72DELL,0xB6D2DC081CAE53BELL,0xB6D2DC081CAE53BELL},{0L,0x7E4C0A2F0359B483LL,(-1L),0x7E4C0A2F0359B483LL,0L,0xBE3530C1B3FB50CCLL,0x008527AF9C1B5D70LL},{(-2L),0xC8C144D97B7BEF83LL,1L,0x4ADCC7E1E94C72DELL,3L,(-1L),0xC8C144D97B7BEF83LL},{(-1L),0x4900288481D159BCLL,1L,0L,0x8EBAD0477565609FLL,(-1L),0x4B53254616B623C4LL}},{{(-2L),0x4ADCC7E1E94C72DELL,0x0265FA3818B036EELL,1L,1L,1L,0x0265FA3818B036EELL},{0L,0L,(-1L),1L,0x008527AF9C1B5D70LL,0xC95790E9E654001ALL,0xBE3530C1B3FB50CCLL},{0xAF2E6DBEEADBF0E6LL,3L,2L,0x4700638084A90D30LL,0xACEC0FD8CF70EC23LL,0x32B306091721AB9CLL,0x4ADCC7E1E94C72DELL},{0L,0x8EBAD0477565609FLL,0x1A5D04CEEC681087LL,0x663FCD93D0F1F97BLL,0x008527AF9C1B5D70LL,0x21906742F0BFE53BLL,0x8EBAD0477565609FLL},{0x0265FA3818B036EELL,1L,0x7D4C145FFBB64CA9LL,0x7D4C145FFBB64CA9LL,1L,0x0265FA3818B036EELL,0xB63C4C55D43939FALL},{0x21906742F0BFE53BLL,0x008527AF9C1B5D70LL,0x663FCD93D0F1F97BLL,0x1A5D04CEEC681087LL,0x8EBAD0477565609FLL,0L,0x4860D6D08505D8B8LL}},{{0x32B306091721AB9CLL,0xACEC0FD8CF70EC23LL,0x4700638084A90D30LL,2L,3L,0xAF2E6DBEEADBF0E6LL,0xB6D2DC081CAE53BELL},{0xC95790E9E654001ALL,0x008527AF9C1B5D70LL,1L,(-1L),0L,0L,(-1L)},{1L,1L,1L,0x0265FA3818B036EELL,0x4ADCC7E1E94C72DELL,(-2L),1L},{(-1L),0x8EBAD0477565609FLL,0L,0L,0xF9B3574464470ABDLL,0x32F193FDE79B4C9ALL,0xC95790E9E654001ALL},{0L,0x31CC515CD15C5248LL,0xD379DF291728E555LL,2L,0L,0x202F629A8EAD6551LL,(-2L)},{0x4860D6D08505D8B8LL,(-1L),0x1A5D04CEEC681087LL,0x4B53254616B623C4LL,0x1A5D04CEEC681087LL,(-1L),0x4860D6D08505D8B8LL}},{{0x4ADCC7E1E94C72DELL,0xD379DF291728E555LL,0L,0x31CC515CD15C5248LL,0x0265FA3818B036EELL,0x4700638084A90D30LL,1L},{1L,0xF9B3574464470ABDLL,1L,(-7L),0x32F193FDE79B4C9ALL,(-1L),0xF9B3574464470ABDLL},{(-1L),0L,0L,0xB63C4C55D43939FALL,0xB6D2DC081CAE53BELL,(-1L),0xB6D2DC081CAE53BELL},{1L,0x1A5D04CEEC681087LL,0x1A5D04CEEC681087LL,1L,0xBE3530C1B3FB50CCLL,0x8A4F85BF309A6F02LL,0L},{0L,0x0265FA3818B036EELL,0xD379DF291728E555LL,0xC8C144D97B7BEF83LL,(-1L),3L,0x4ADCC7E1E94C72DELL},{0x663FCD93D0F1F97BLL,0x32F193FDE79B4C9ALL,0xA9A8AB9BA5CF8E01LL,0x21906742F0BFE53BLL,(-1L),0x7E4C0A2F0359B483LL,0L}}};
        uint32_t **l_1152 = (void*)0;
        struct S0 **l_1170[7][4] = {{&g_271,&g_271,&g_271,&g_271},{&g_271,&g_271,&g_271,&g_271},{&g_271,&g_271,&g_271,&g_271},{&g_271,&g_271,&g_271,&g_271},{&g_271,&g_271,&g_271,&g_271},{&g_271,&g_271,&g_271,&g_271},{&g_271,&g_271,&g_271,&g_271}};
        int32_t l_1219 = 0x3AE515A9L;
        uint32_t *****l_1242 = &g_1241;
        uint32_t *l_1289 = &g_892;
        int32_t l_1315 = 0xB04D9D2BL;
        int32_t l_1319[1][6] = {{0xB7EADC8BL,0xB7EADC8BL,0xB7EADC8BL,0xB7EADC8BL,0xB7EADC8BL,0xB7EADC8BL}};
        uint64_t l_1326 = 0x77E6555E0ADF0C20LL;
        int16_t *l_1353 = (void*)0;
        int16_t *l_1354 = &g_350;
        const uint32_t **l_1396 = &g_519;
        const uint32_t ***l_1395 = &l_1396;
        int64_t *l_1402[8] = {&g_543.f5,&g_541[5].f5,&g_541[5].f5,&g_543.f5,&g_541[5].f5,&g_541[5].f5,&g_543.f5,&g_541[5].f5};
        int64_t **l_1401 = &l_1402[2];
        uint32_t **l_1409 = (void*)0;
        uint32_t ***l_1408 = &l_1409;
        int16_t l_1424 = 0xBEC2L;
        uint32_t l_1427 = 0x7CB4C890L;
        uint16_t l_1468 = 9UL;
        const int32_t *l_1503[3];
        const int32_t **l_1502 = &l_1503[1];
        const int32_t ** const *l_1501[8][2] = {{&l_1502,&l_1502},{&l_1502,&l_1502},{&l_1502,&l_1502},{&l_1502,&l_1502},{&l_1502,&l_1502},{&l_1502,&l_1502},{&l_1502,&l_1502},{&l_1502,&l_1502}};
        int64_t l_1529 = 0xCB17991B565E6DE0LL;
        uint32_t l_1551[9] = {18446744073709551609UL,18446744073709551611UL,18446744073709551611UL,18446744073709551609UL,18446744073709551611UL,18446744073709551611UL,18446744073709551609UL,18446744073709551611UL,18446744073709551611UL};
        int8_t l_1560 = 9L;
        uint32_t l_1613 = 18446744073709551615UL;
        uint32_t l_1643 = 9UL;
        int32_t *l_1662 = &l_1219;
        int8_t l_1707 = 0xFCL;
        int8_t *l_1747 = &l_1707;
        int8_t **l_1755[10] = {&l_1746,&l_1746,&l_1746,&l_1746,&l_1746,&l_1746,&l_1746,&l_1746,&l_1746,&l_1746};
        int8_t ***l_1754 = &l_1755[4];
        uint32_t l_1813 = 0x2D77B893L;
        int32_t l_1830[9][7] = {{0x17E9798FL,0x30B8D2F1L,0L,0x30B8D2F1L,0x17E9798FL,0x63A87D58L,(-1L)},{0xEC827800L,(-1L),0xED91AADCL,(-1L),0xEC827800L,0x4BAB941CL,0x4BAB941CL},{0x17E9798FL,0x30B8D2F1L,0L,0x30B8D2F1L,0x17E9798FL,0x63A87D58L,(-1L)},{0xEC827800L,(-1L),0xED91AADCL,(-1L),0xEC827800L,0x4BAB941CL,0x4BAB941CL},{0x17E9798FL,0x30B8D2F1L,0L,0x30B8D2F1L,0x17E9798FL,0x63A87D58L,(-1L)},{0xEC827800L,(-1L),0xED91AADCL,(-1L),0xEC827800L,0x4BAB941CL,0x4BAB941CL},{0x17E9798FL,0x30B8D2F1L,0L,0x30B8D2F1L,0x17E9798FL,0x63A87D58L,(-1L)},{0xEC827800L,(-1L),0xED91AADCL,(-1L),0x4BAB941CL,0xED91AADCL,0xED91AADCL},{(-1L),0xD51DB18DL,0xC4FEB438L,0xD51DB18DL,(-1L),1L,0L}};
        int i, j, k;
        for (i = 0; i < 3; i++)
            l_1503[i] = &l_1146[0][7];
        for (g_314 = 1; (g_314 >= 0); g_314 -= 1)
        { /* block id: 503 */
            int32_t l_1150 = (-1L);
            int32_t l_1185 = 1L;
            int32_t *l_1262 = &l_1146[0][7];
            uint16_t *l_1263 = (void*)0;
            uint16_t *l_1264 = &g_337.f0;
            int8_t *l_1271 = (void*)0;
            int8_t *l_1272 = &g_488[4][3][0];
            int8_t *l_1275 = &g_1276[2];
            uint64_t *l_1277[2][9][1] = {{{&g_388},{&g_358},{&g_215},{&g_215},{&g_215},{&g_358},{&g_388},{&g_358},{&g_215}},{{&g_215},{&g_215},{&g_358},{&g_388},{&g_358},{&g_215},{&g_215},{&g_215},{&g_358}}};
            int64_t *l_1278 = &g_461;
            const uint32_t *l_1293[7][2] = {{&g_523,&g_1294},{&g_1294,&g_523},{&g_1294,&g_1294},{&g_523,&g_1294},{&g_1294,&g_523},{&g_1294,&g_1294},{&g_523,&g_1294}};
            const uint32_t *l_1295 = &g_1296[5];
            int32_t l_1316[10][8][3] = {{{(-1L),9L,0xFDE03404L},{0L,0x8B921E8DL,0L},{(-10L),9L,0x2F2778D9L},{9L,7L,0L},{0x7443E2D0L,0xF7E7B822L,0xAACB6A67L},{0x8B921E8DL,0L,(-10L)},{2L,(-1L),0x6CAB134DL},{(-6L),0xAACB6A67L,0x8B921E8DL}},{{0L,0xBC9C109CL,0xED631C2BL},{0x3668F9ECL,5L,1L},{0L,0x525F3E65L,0x08C075E7L},{(-1L),0L,0x7443E2D0L},{0xF97E878BL,(-8L),0x58DB807AL},{(-9L),0xEBFCF748L,0x17390595L},{9L,1L,0x17390595L},{0x7B169E31L,0x6F743DCDL,0x58DB807AL}},{{(-10L),(-1L),0x7443E2D0L},{0x2F2778D9L,1L,0x08C075E7L},{0L,1L,1L},{0L,(-9L),0xED631C2BL},{0xB1587B1DL,(-8L),0x8B921E8DL},{0x1F72141EL,1L,0x6CAB134DL},{0L,0L,(-10L)},{1L,(-10L),0xAACB6A67L}},{{0L,1L,0L},{1L,0x58DB807AL,0x2F2778D9L},{(-3L),1L,0L},{0x08C075E7L,(-10L),0xFDE03404L},{1L,(-7L),0xEBFCF748L},{0x08C075E7L,0x15FE2307L,(-3L)},{(-3L),0L,(-10L)},{1L,0x7443E2D0L,0xF7E7B822L}},{{0L,0xFCC2D44CL,(-1L)},{1L,(-1L),(-1L)},{0L,1L,0xABA9B6BDL},{0x1F72141EL,0xF0086C54L,0L},{0xB1587B1DL,0L,0x14ED3F8EL},{0L,2L,0x95C99A97L},{0L,(-3L),(-8L)},{0x2F2778D9L,(-1L),0xFCC2D44CL}},{{(-10L),2L,0x6B77F3E5L},{0x7B169E31L,(-6L),0L},{9L,(-6L),0x3AC08968L},{(-9L),2L,0x3668F9ECL},{0xF97E878BL,(-1L),0x6F743DCDL},{(-1L),(-3L),0L},{0L,2L,0x1F72141EL},{0x3668F9ECL,0L,0L}},{{0L,0xF0086C54L,0L},{(-6L),1L,1L},{1L,0x7CBD3E10L,0x1F72141EL},{(-3L),0x8B921E8DL,(-1L)},{(-6L),(-6L),0xEBFCF748L},{0L,0x40DEA5D2L,5L},{0L,0x37810C04L,1L},{0x2F2778D9L,(-1L),1L}},{{0xF0086C54L,0L,1L},{(-7L),(-8L),5L},{0x95C99A97L,0x525F3E65L,0xEBFCF748L},{(-5L),0L,(-1L)},{0x08C075E7L,9L,0x1F72141EL},{(-1L),0x17390595L,1L},{0xC26B1CC8L,0x3668F9ECL,0x40DEA5D2L},{0L,2L,0xFDE03404L}},{{1L,0L,1L},{0x37810C04L,0x7443E2D0L,0x15FE2307L},{0x6F743DCDL,0x95C99A97L,0L},{1L,0xF0086C54L,(-5L)},{0xAACB6A67L,0L,0x6B77F3E5L},{0xABA9B6BDL,0xEBFCF748L,0x3AC08968L},{0xABA9B6BDL,0x6F743DCDL,1L},{0xAACB6A67L,0xB1587B1DL,0x8B921E8DL}},{{1L,0x15FE2307L,0xB1587B1DL},{0x6F743DCDL,0x0FEAE20FL,0L},{0x37810C04L,0x08C075E7L,2L},{1L,(-7L),1L},{0L,0x5AAFCC02L,0xC26B1CC8L},{0xC26B1CC8L,7L,0xF0086C54L},{(-1L),5L,0L},{0x08C075E7L,0xED631C2BL,0xED631C2BL}}};
            int i, j, k;
            for (g_404.f5 = 0; (g_404.f5 <= 3); g_404.f5 += 1)
            { /* block id: 506 */
                int32_t *l_1148 = (void*)0;
                int32_t *l_1149 = &l_1146[1][0];
                uint32_t **l_1153[3];
                int32_t l_1192 = (-1L);
                int32_t l_1193 = (-3L);
                uint8_t *l_1207 = (void*)0;
                uint8_t **l_1206[3][6] = {{&l_1207,&l_1207,&l_1207,&l_1207,&l_1207,&l_1207},{&l_1207,&l_1207,&l_1207,&l_1207,&l_1207,&l_1207},{&l_1207,&l_1207,&l_1207,&l_1207,&l_1207,&l_1207}};
                uint32_t ****l_1220 = &g_930;
                uint32_t ****l_1224[10][7][3] = {{{(void*)0,&g_930,&g_930},{(void*)0,&g_930,&g_930},{&g_930,(void*)0,&g_930},{&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930},{(void*)0,&g_930,&g_930},{&g_930,&g_930,(void*)0}},{{&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930},{(void*)0,&g_930,&g_930},{&g_930,&g_930,(void*)0},{&g_930,&g_930,(void*)0},{&g_930,&g_930,&g_930},{(void*)0,&g_930,&g_930}},{{(void*)0,&g_930,&g_930},{&g_930,&g_930,&g_930},{&g_930,(void*)0,&g_930},{(void*)0,&g_930,&g_930},{&g_930,(void*)0,&g_930},{&g_930,&g_930,(void*)0},{(void*)0,&g_930,(void*)0}},{{&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930},{&g_930,&g_930,(void*)0},{&g_930,&g_930,&g_930},{(void*)0,&g_930,&g_930},{&g_930,&g_930,&g_930}},{{&g_930,(void*)0,(void*)0},{&g_930,&g_930,&g_930},{&g_930,&g_930,(void*)0},{&g_930,&g_930,&g_930},{(void*)0,&g_930,&g_930},{&g_930,&g_930,&g_930},{(void*)0,&g_930,&g_930}},{{&g_930,&g_930,(void*)0},{&g_930,&g_930,&g_930},{&g_930,&g_930,(void*)0},{&g_930,&g_930,&g_930},{&g_930,&g_930,(void*)0},{&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930}},{{&g_930,&g_930,&g_930},{&g_930,&g_930,(void*)0},{&g_930,&g_930,&g_930},{&g_930,&g_930,(void*)0},{&g_930,&g_930,&g_930},{&g_930,&g_930,(void*)0},{&g_930,&g_930,&g_930}},{{&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930},{(void*)0,&g_930,&g_930},{&g_930,&g_930,(void*)0},{(void*)0,&g_930,&g_930},{&g_930,&g_930,(void*)0},{&g_930,&g_930,&g_930}},{{&g_930,&g_930,(void*)0},{&g_930,&g_930,(void*)0},{(void*)0,&g_930,&g_930},{&g_930,&g_930,&g_930},{(void*)0,&g_930,&g_930},{&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930}},{{&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930},{(void*)0,&g_930,&g_930},{&g_930,&g_930,&g_930},{(void*)0,&g_930,&g_930},{&g_930,&g_930,&g_930},{&g_930,&g_930,&g_930}}};
                uint32_t ***l_1258 = (void*)0;
                int i, j, k;
                for (i = 0; i < 3; i++)
                    l_1153[i] = (void*)0;
                (*l_1149) = g_488[(g_314 + 3)][g_107][g_107];
                if ((l_1151[0][1][1] ^= (l_1150 ^= g_45[(g_107 + 2)][(g_107 + 3)][g_404.f5])))
                { /* block id: 510 */
                    int64_t *l_1156 = &g_102;
                    uint32_t *l_1165 = &g_892;
                    int32_t l_1166 = 0x17096120L;
                    uint8_t l_1167[3][6][1] = {{{0xB5L},{0x7CL},{0xB5L},{255UL},{0xB5L},{0x7CL}},{{0xB5L},{255UL},{0xB5L},{0x7CL},{0xB5L},{255UL}},{{0xB5L},{0x7CL},{0xB5L},{255UL},{0xB5L},{0x7CL}}};
                    uint16_t *l_1168[6];
                    int i, j, k;
                    for (i = 0; i < 6; i++)
                        l_1168[i] = &g_126[1][0][0];
                    if (((*l_1149) ^= (((l_1152 != ((*g_930) = l_1153[2])) | g_272.f6) != (l_1151[3][3][0] , (safe_add_func_int8_t_s_s((18446744073709551615UL >= ((*l_1156) = l_1150)), (((safe_mul_func_uint32_t_u_u(((safe_mul_func_int64_t_s_s(0x1968CA3BB72AA0D8LL, g_404.f0)) == (l_1166 = ((g_24[(g_314 + 2)][(g_404.f5 + 5)][g_107] = ((safe_mod_func_int16_t_s_s(((((*l_1165) = (safe_div_func_int8_t_s_s(0L, 1L))) || (-1L)) , 8L), 65529UL)) | l_1166)) >= l_1167[2][4][0]))), 4294967295UL)) == p_64) >= p_65)))))))
                    { /* block id: 517 */
                        l_1170[3][1] = l_1169;
                        (*l_1149) = (safe_add_func_uint16_t_u_u(((+g_543.f0) < l_1150), p_61));
                    }
                    else
                    { /* block id: 520 */
                        int i, j, k;
                        g_1068[(g_107 + 8)] = p_62;
                        (*l_1149) = (safe_lshift_func_uint16_t_u_u((safe_unary_minus_func_int16_t_s((safe_sub_func_uint32_t_u_u((safe_div_func_uint8_t_u_u(((safe_lshift_func_uint8_t_u_u(p_64, 0)) ^ 0xFD82171FL), ((1L != (((g_488[(g_404.f5 + 1)][(g_314 + 5)][g_107] &= p_61) | ((p_65 < (safe_mul_func_int64_t_s_s((0L ^ (l_1185 = ((((l_1150 && 0xA525D9D1730AB96FLL) && ((void*)0 == &p_61)) , p_61) <= g_733.f0))), (*l_1147)))) && p_65)) , l_1151[2][0][6])) || g_337.f6))), (*l_1149))))), p_65));
                        return (*l_1147);
                    }
                    (*g_72) = (((*l_1165) = (g_495 = ((((safe_lshift_func_uint8_t_u_s((*l_1147), 7)) ^ p_61) && 1UL) == l_1150))) , &g_49[3][5]);
                    if (((0xC7ADL ^ 0xC1EAL) < p_63))
                    { /* block id: 530 */
                        (*l_1149) ^= (p_65 > p_64);
                        if ((*l_1147))
                            continue;
                    }
                    else
                    { /* block id: 533 */
                        int32_t *l_1191[5][9] = {{&l_1145,&l_1145,&l_1166,&l_1145,&l_1145,(void*)0,&l_1166,&g_279,&g_279},{&l_1145,&g_57[2][1],&l_1145,&g_279,&l_1145,&g_57[2][1],&l_1145,&l_1145,&g_49[1][1]},{&l_1166,&g_49[1][1],&l_1145,(void*)0,&l_1145,(void*)0,&l_1145,&g_49[1][1],&l_1166},{&g_57[2][1],(void*)0,&l_1166,&l_1145,&l_1166,&l_1145,&l_1166,&l_1145,&l_1166},{&l_1166,&l_1166,&g_57[2][1],&l_1166,&g_49[1][1],&g_279,&l_1166,&g_279,&l_1145}};
                        int i, j;
                        (*g_72) = func_37(l_1188, g_897[3][6].f2, (*p_62), g_897[3][6].f5, ((*g_73) = (((safe_rshift_func_uint16_t_u_u(((((p_65 < l_1185) >= (g_272.f2 == ((p_62 == ((p_63 , p_63) , (void*)0)) >= p_61))) != (-9L)) < p_63), 12)) || p_61) | g_733.f2)));
                        --l_1194;
                        (*l_1149) = ((g_404.f7 >= (((p_61 , (((((*l_1156) = (((((safe_mul_func_int8_t_s_s((~(g_360 || (safe_add_func_uint32_t_u_u((((g_495 , ((safe_mul_func_uint64_t_u_u((safe_add_func_uint8_t_u_u((((g_483[8] != l_1206[1][1]) ^ 0x2BAB396B65376435LL) ^ p_63), (safe_div_func_uint8_t_u_u((safe_mod_func_uint64_t_u_u((safe_mul_func_int8_t_s_s(g_725[2], 0L)), p_63)), g_314)))), l_1151[0][1][1])) > l_1185)) == (**g_72)) <= 0L), l_1151[0][1][1])))), l_1151[3][2][4])) , 4L) ^ l_1166) >= g_897[3][6].f7) && l_1151[2][0][5])) <= l_1185) || 0x9C1BL) ^ 0x1565C703AD9023BALL)) != l_1151[1][4][3]) & 18446744073709551615UL)) , (*g_73));
                    }
                }
                else
                { /* block id: 540 */
                    uint32_t l_1257 = 1UL;
                    if (((safe_rshift_func_int64_t_s_u(l_1151[0][1][1], 35)) == g_461))
                    { /* block id: 541 */
                        uint32_t *****l_1221 = (void*)0;
                        uint32_t *****l_1222 = (void*)0;
                        uint32_t *****l_1223 = &l_1220;
                        uint16_t *l_1259 = &g_126[1][0][0];
                        int i, j, k;
                        (*l_1149) ^= 0xCEF6E281L;
                        l_1219 |= (+(safe_add_func_int32_t_s_s(((*l_1149) = ((void*)0 == l_1169)), (-1L))));
                        l_1219 = (((((((*l_1223) = l_1220) == l_1224[9][1][0]) , l_1151[1][5][6]) , (g_1225 != g_1225)) == ((safe_lshift_func_uint8_t_u_s((*l_1149), 0)) , (g_24[(g_314 + 1)][(g_107 + 4)][g_107] ^= ((safe_div_func_int8_t_s_s((safe_div_func_int32_t_s_s(((void*)0 != (*g_556)), p_61)), g_730.f7)) , p_64)))) , (-1L));
                        (*g_72) = ((safe_div_func_int64_t_s_s((!((((((((g_1236[1][1][1] != (l_1223 = l_1242)) || (l_1185 != (safe_rshift_func_int64_t_s_s(((safe_mul_func_uint64_t_u_u(p_65, p_63)) | ((*l_1147) , (safe_lshift_func_int8_t_s_s((((safe_sub_func_uint16_t_u_u((safe_mod_func_uint16_t_u_u((safe_mul_func_int8_t_s_s((&g_126[0][1][0] == (((((safe_mul_func_uint64_t_u_u(((((((l_1257 >= l_1257) != p_63) <= 4L) ^ 5L) & g_161) < g_543.f5), p_65)) && p_61) , (void*)0) == l_1258) , l_1259)), g_24[(g_314 + 1)][(g_107 + 4)][g_107])), p_65)), 6UL)) != p_63) , p_64), p_65)))), p_64)))) == p_64) && g_126[0][1][0]) || p_63) >= p_65) , (*l_1147)) != l_1219)), g_161)) , &g_49[7][4]);
                    }
                    else
                    { /* block id: 550 */
                        return l_1185;
                    }
                    for (g_215 = 0; (g_215 < 28); g_215++)
                    { /* block id: 555 */
                        return l_1219;
                    }
                }
            }
            if ((((*l_1262) = p_61) ^ ((4L <= (--(*l_1264))) != (((p_65 > ((safe_rshift_func_int64_t_s_s(((*l_1278) = (safe_mod_func_int8_t_s_s(((*l_1272) &= (l_1151[2][2][5] < p_63)), ((l_1151[0][1][1] && p_64) && ((safe_mod_func_uint64_t_u_u((g_360 ^= (g_461 || (((*l_1275) ^= l_1151[1][3][4]) && p_63))), 0xF2262A4307B1CEC7LL)) | 0x7D5E134AL))))), (*l_1147))) , g_337.f2)) ^ g_1003) > (-1L)))))
            { /* block id: 566 */
                int32_t *l_1279 = &l_1219;
                int32_t *l_1280 = (void*)0;
                int32_t *l_1281[10] = {&g_279,(void*)0,(void*)0,&g_279,(void*)0,(void*)0,&g_279,(void*)0,(void*)0,&g_279};
                const int64_t *l_1305 = (void*)0;
                int i;
                --l_1282;
                for (g_337.f0 = 29; (g_337.f0 >= 4); g_337.f0--)
                { /* block id: 570 */
                    uint16_t l_1290 = 0x56EDL;
                    const uint32_t **l_1291 = (void*)0;
                    const uint32_t **l_1292[6] = {&g_519,&g_519,&g_519,&g_519,&g_519,&g_519};
                    const int64_t **l_1303 = (void*)0;
                    const int64_t **l_1304[6][7][6] = {{{&g_517,&g_517,(void*)0,&g_517,&g_517,(void*)0},{&g_517,&g_517,&g_517,&g_517,&g_517,&g_517},{(void*)0,&g_517,&g_517,&g_517,(void*)0,&g_517},{&g_517,(void*)0,&g_517,&g_517,&g_517,(void*)0},{(void*)0,&g_517,(void*)0,&g_517,&g_517,&g_517},{&g_517,&g_517,&g_517,&g_517,&g_517,&g_517},{&g_517,&g_517,&g_517,&g_517,(void*)0,&g_517}},{{&g_517,&g_517,(void*)0,&g_517,&g_517,(void*)0},{(void*)0,&g_517,&g_517,&g_517,&g_517,&g_517},{&g_517,&g_517,&g_517,&g_517,(void*)0,(void*)0},{(void*)0,(void*)0,&g_517,&g_517,&g_517,&g_517},{&g_517,&g_517,&g_517,&g_517,&g_517,(void*)0},{(void*)0,(void*)0,&g_517,&g_517,(void*)0,&g_517},{&g_517,&g_517,&g_517,&g_517,&g_517,&g_517}},{{&g_517,&g_517,&g_517,&g_517,&g_517,&g_517},{&g_517,&g_517,&g_517,&g_517,(void*)0,(void*)0},{(void*)0,&g_517,&g_517,&g_517,&g_517,(void*)0},{&g_517,&g_517,(void*)0,(void*)0,&g_517,(void*)0},{&g_517,&g_517,&g_517,&g_517,&g_517,&g_517},{&g_517,(void*)0,&g_517,(void*)0,(void*)0,&g_517},{&g_517,&g_517,(void*)0,(void*)0,&g_517,&g_517}},{{&g_517,&g_517,&g_517,&g_517,&g_517,&g_517},{&g_517,&g_517,&g_517,(void*)0,&g_517,(void*)0},{&g_517,&g_517,&g_517,&g_517,&g_517,(void*)0},{(void*)0,&g_517,&g_517,&g_517,&g_517,&g_517},{&g_517,&g_517,(void*)0,&g_517,&g_517,(void*)0},{&g_517,&g_517,(void*)0,&g_517,&g_517,(void*)0},{&g_517,&g_517,&g_517,&g_517,&g_517,&g_517}},{{(void*)0,&g_517,&g_517,&g_517,&g_517,&g_517},{&g_517,&g_517,&g_517,(void*)0,&g_517,&g_517},{&g_517,(void*)0,(void*)0,&g_517,&g_517,&g_517},{&g_517,&g_517,&g_517,(void*)0,(void*)0,&g_517},{&g_517,(void*)0,&g_517,&g_517,&g_517,&g_517},{&g_517,&g_517,&g_517,&g_517,(void*)0,(void*)0},{(void*)0,(void*)0,&g_517,&g_517,&g_517,&g_517}},{{&g_517,&g_517,&g_517,&g_517,&g_517,&g_517},{&g_517,&g_517,&g_517,&g_517,&g_517,&g_517},{&g_517,&g_517,&g_517,&g_517,&g_517,&g_517},{&g_517,&g_517,(void*)0,&g_517,&g_517,&g_517},{&g_517,&g_517,(void*)0,&g_517,&g_517,&g_517},{(void*)0,&g_517,(void*)0,&g_517,&g_517,&g_517},{&g_517,(void*)0,(void*)0,&g_517,(void*)0,&g_517}}};
                    int i, j, k;
                    (*l_1279) = (safe_mul_func_uint8_t_u_u(((((((l_1289 == (l_1295 = (l_1293[3][0] = func_37(p_61, p_65, (*p_62), l_1290, p_63)))) , (-3L)) <= (safe_add_func_uint64_t_u_u((p_65 == 0x0C5E5130844BDB50LL), 0x40A311D025C101CFLL))) , p_63) , &g_250) != l_1299), g_404.f7));
                    (*l_1262) = (((!l_1290) > 0x3DL) , (((safe_mod_func_uint64_t_u_u(((l_1305 = &g_725[1]) == (void*)0), (-1L))) , l_1277[0][6][0]) == &g_102));
                }
                (*g_72) = &l_1146[2][7];
            }
            else
            { /* block id: 578 */
                int32_t *l_1310 = &g_279;
                int32_t l_1317 = 0xDC0705F2L;
                int32_t l_1318 = 3L;
                int32_t l_1321[2];
                int16_t l_1324[2][3][6] = {{{0L,(-2L),0xF24EL,0x2766L,0xF24EL,(-2L)},{0xF24EL,0L,0x988CL,0L,0L,0x988CL},{0xF24EL,0xF24EL,0L,0x2766L,9L,0x2766L}},{{0L,0xF24EL,0L,0x988CL,0L,0L},{(-2L),0L,0L,(-2L),0xF24EL,0x2766L},{0x2766L,(-2L),0L,(-2L),0x2766L,0x988CL}}};
                int32_t l_1325[5];
                int i, j, k;
                for (i = 0; i < 2; i++)
                    l_1321[i] = 0x8724B0A2L;
                for (i = 0; i < 5; i++)
                    l_1325[i] = 1L;
                for (l_1185 = 0; (l_1185 >= 4); l_1185 = safe_add_func_uint32_t_u_u(l_1185, 1))
                { /* block id: 581 */
                    int8_t l_1311 = 1L;
                    int32_t l_1320 = 0x900C73B9L;
                    int32_t l_1322 = 0xC7663E58L;
                    int32_t l_1323[6] = {(-4L),(-4L),(-4L),(-4L),(-4L),(-4L)};
                    int i;
                    for (g_269.f5 = 0; (g_269.f5 < 11); g_269.f5++)
                    { /* block id: 584 */
                        int32_t *l_1312 = &l_1146[6][7];
                        int32_t *l_1313 = &l_1219;
                        int32_t *l_1314[7] = {&g_49[0][4],&g_49[0][4],&g_49[0][4],&g_49[0][4],&g_49[0][4],&g_49[0][4],&g_49[0][4]};
                        uint32_t *l_1331[7][10][3] = {{{&g_45[5][1][1],&g_45[5][1][1],&g_142},{&g_45[1][3][3],&g_45[5][1][2],&g_142},{&g_45[5][1][1],&g_45[1][3][3],&g_45[5][3][1]},{&g_142,&g_142,&g_45[5][4][3]},{&g_45[1][1][3],&g_45[2][2][0],&g_45[2][2][0]},{&g_142,&g_142,&g_45[5][1][1]},{&g_45[5][1][1],&g_45[5][1][1],&g_142},{&g_142,&g_45[0][3][0],(void*)0},{&g_45[2][2][0],(void*)0,&g_45[5][1][1]},{&g_142,&g_45[5][1][1],(void*)0}},{{&g_142,&g_45[5][1][1],(void*)0},{(void*)0,(void*)0,&g_142},{&g_45[5][1][1],(void*)0,&g_45[2][2][0]},{(void*)0,&g_142,&g_45[4][5][0]},{&g_142,&g_142,&g_142},{&g_45[3][3][1],(void*)0,&g_45[4][5][0]},{&g_142,&g_45[2][4][3],&g_45[2][2][0]},{&g_45[5][1][1],&g_142,&g_142},{&g_45[3][6][0],&g_45[5][1][1],(void*)0},{&g_142,&g_142,(void*)0}},{{&g_142,&g_142,&g_45[5][1][1]},{(void*)0,&g_142,&g_142},{&g_142,&g_45[5][1][1],&g_45[3][6][0]},{&g_45[5][1][1],&g_45[2][2][0],&g_142},{(void*)0,&g_45[3][2][2],&g_45[5][1][1]},{&g_45[4][5][0],&g_45[5][1][1],&g_142},{&g_45[1][1][3],&g_45[5][1][1],&g_142},{&g_45[5][1][1],&g_142,(void*)0},{&g_142,&g_142,&g_45[5][1][1]},{&g_142,&g_45[5][3][1],&g_45[5][1][1]}},{{&g_142,&g_142,&g_45[5][2][2]},{&g_142,&g_142,(void*)0},{&g_45[4][3][1],&g_45[5][3][1],&g_142},{&g_45[2][2][0],&g_142,&g_45[5][1][1]},{&g_142,&g_142,&g_45[0][3][0]},{(void*)0,&g_45[5][1][1],&g_45[3][3][1]},{&g_142,&g_45[5][1][1],(void*)0},{&g_45[4][1][1],&g_45[3][2][2],&g_45[5][1][1]},{&g_142,&g_45[2][2][0],&g_45[5][1][1]},{&g_45[5][1][1],&g_45[5][1][1],&g_45[5][1][1]}},{{&g_142,&g_142,&g_45[5][3][1]},{&g_142,&g_45[5][1][1],&g_45[2][2][0]},{&g_45[5][1][1],&g_142,&g_45[5][1][1]},{&g_45[2][2][0],(void*)0,&g_45[2][2][0]},{&g_45[2][4][3],&g_45[4][3][1],(void*)0},{&g_45[3][3][1],&g_45[5][1][1],(void*)0},{&g_45[2][2][0],&g_45[5][1][1],(void*)0},{&g_142,&g_142,&g_142},{&g_45[2][2][0],&g_142,&g_45[5][1][1]},{&g_45[3][3][1],(void*)0,&g_45[5][1][1]}},{{&g_45[2][4][3],&g_45[5][1][1],&g_142},{&g_45[2][2][0],(void*)0,&g_45[5][1][1]},{&g_45[5][1][1],&g_45[5][1][1],&g_45[5][6][2]},{&g_142,&g_45[5][1][1],&g_142},{&g_142,&g_45[5][2][2],&g_45[4][5][0]},{&g_45[5][1][1],&g_142,&g_45[5][1][1]},{&g_142,(void*)0,&g_142},{&g_45[4][1][1],&g_142,(void*)0},{&g_142,(void*)0,(void*)0},{(void*)0,&g_45[5][1][1],&g_142}},{{&g_142,&g_45[5][1][1],(void*)0},{&g_45[2][2][0],&g_45[4][1][1],&g_142},{&g_45[4][3][1],&g_142,&g_142},{&g_142,&g_142,&g_142},{&g_142,&g_45[2][2][0],&g_142},{&g_142,&g_142,(void*)0},{&g_142,&g_45[5][1][1],&g_142},{&g_45[5][1][1],&g_142,(void*)0},{&g_45[1][1][3],&g_45[5][1][1],(void*)0},{&g_45[4][5][0],&g_142,&g_142}}};
                        int i, j, k;
                        (*g_72) = l_1310;
                        l_1326++;
                        (*l_1312) = ((safe_lshift_func_uint8_t_u_u(252UL, 6)) , (l_1331[6][3][2] != (void*)0));
                        (**g_72) = (p_62 == p_62);
                    }
                }
            }
        }
        g_1068[(g_107 + 7)] = func_37(p_61, (*l_1147), (safe_mul_func_int32_t_s_s((+(safe_unary_minus_func_int64_t_s(((*l_1147) == (((((*l_1299) ^= g_102) && (((safe_div_func_int32_t_s_s((l_1338 == ((*g_930) = l_1340)), (safe_add_func_uint64_t_u_u((((*l_1354) = (((*l_1299) ^= (safe_mul_func_uint16_t_u_u((safe_div_func_uint64_t_u_u((safe_rshift_func_int32_t_s_u((safe_sub_func_uint32_t_u_u((safe_mul_func_uint64_t_u_u((p_64 ^ ((g_1296[5] & (p_63 <= (*l_1147))) , 0x0670947AL)), g_404.f6)), (*l_1147))), p_63)), (*l_1147))), p_63))) | g_733.f5)) < p_63), g_733.f0)))) ^ 6UL) != p_61)) , p_63) , 0xBD9B85912107B98DLL))))), 0L)), p_65, (*l_1147));
        for (g_543.f5 = 5; (g_543.f5 >= 2); g_543.f5 -= 1)
        { /* block id: 600 */
            int16_t **l_1382 = &l_1354;
            int32_t l_1383 = (-1L);
            int8_t *l_1384[7] = {&g_1276[2],&g_1276[2],&g_1276[2],&g_1276[2],&g_1276[2],&g_1276[2],&g_1276[2]};
            int32_t *l_1385 = (void*)0;
            int32_t *l_1386 = &g_279;
            const uint32_t ****l_1391 = (void*)0;
            const uint32_t **l_1394 = &g_519;
            const uint32_t ***l_1393[10];
            const uint32_t ****l_1392 = &l_1393[8];
            uint64_t *l_1397[4][4][10] = {{{(void*)0,&l_1326,&g_360,(void*)0,(void*)0,(void*)0,(void*)0,&g_360,&l_1326,(void*)0},{&g_360,&g_1005,&l_1326,(void*)0,&g_1005,(void*)0,&l_1326,&g_1005,&g_360,&g_360},{(void*)0,&g_358,&g_388,&g_1005,&g_1005,&g_388,&g_358,(void*)0,&g_388,(void*)0},{&g_1005,&l_1326,(void*)0,&g_1005,(void*)0,&l_1326,&g_1005,(void*)0,(void*)0,&g_360}},{{(void*)0,(void*)0,&g_358,&g_358,(void*)0,(void*)0,&g_388,(void*)0,&g_388,(void*)0},{&l_1326,(void*)0,&g_1005,(void*)0,&l_1326,&g_1005,&g_360,&g_360,&g_1005,&l_1326},{&l_1326,&g_388,&g_388,&l_1326,&g_358,(void*)0,&l_1326,(void*)0,&g_358,&l_1326},{(void*)0,&l_1326,(void*)0,&g_358,&l_1326,&g_388,&g_388,&l_1326,&g_358,(void*)0}},{{&g_360,&g_360,&g_1005,&l_1326,(void*)0,&g_1005,(void*)0,&l_1326,&g_1005,&g_360},{(void*)0,&g_388,(void*)0,(void*)0,&g_358,&g_358,(void*)0,(void*)0,&g_388,(void*)0},{(void*)0,&g_360,&g_388,&g_358,&g_360,&g_358,&g_388,&g_360,(void*)0,(void*)0},{(void*)0,&l_1326,&g_1005,&g_360,&g_360,&g_1005,&l_1326,(void*)0,&g_1005,(void*)0}},{{&g_360,&g_388,&g_358,&g_360,&g_358,&g_388,&g_360,(void*)0,(void*)0,&g_360},{(void*)0,(void*)0,&g_358,&g_358,(void*)0,(void*)0,&g_388,(void*)0,&g_388,(void*)0},{&l_1326,(void*)0,&g_1005,(void*)0,&l_1326,&g_1005,&g_360,&g_360,&g_1005,&l_1326},{&l_1326,&g_388,&g_388,&l_1326,&g_358,(void*)0,&l_1326,(void*)0,&g_358,&l_1326}}};
            uint32_t ****l_1398 = &g_930;
            uint32_t **l_1407 = &l_1289;
            uint32_t ***l_1406 = &l_1407;
            int32_t l_1416[9][1][6] = {{{4L,(-1L),4L,0L,0L,0L}},{{4L,(-1L),4L,0L,0L,0L}},{{4L,(-1L),4L,0L,0L,0L}},{{4L,(-1L),4L,0L,0L,0L}},{{4L,(-1L),4L,0L,0L,0L}},{{4L,(-1L),4L,0L,0L,0L}},{{4L,(-1L),4L,0L,0L,0L}},{{4L,(-1L),4L,0L,0L,0L}},{{4L,(-1L),4L,0L,0L,0L}}};
            uint16_t l_1425[3][9][6] = {{{0xCAC9L,1UL,0xCAC9L,0xD3A8L,0UL,0xD3A8L},{0xCAC9L,1UL,0xCAC9L,0xD3A8L,0UL,0xD3A8L},{0xCAC9L,1UL,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL}},{{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL}},{{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL},{0xDACDL,0xD3A8L,0xDACDL,2UL,0xCAC9L,2UL}}};
            int32_t l_1441 = 1L;
            int32_t l_1442 = (-1L);
            int32_t l_1443 = 0xD1F6D0F8L;
            int32_t l_1444 = 1L;
            int32_t l_1445 = 7L;
            int32_t l_1446 = (-4L);
            int32_t l_1447[3];
            uint16_t l_1448 = 0xE35AL;
            uint8_t l_1628[6] = {255UL,255UL,255UL,255UL,255UL,255UL};
            int i, j, k;
            for (i = 0; i < 10; i++)
                l_1393[i] = &l_1394;
            for (i = 0; i < 3; i++)
                l_1447[i] = 3L;
            (*l_1386) = ((safe_lshift_func_int64_t_s_s(((g_1357[2][6][0] != (l_1367 = g_1363)) ^ (safe_rshift_func_int32_t_s_u((~((g_488[0][0][1] ^= ((((((safe_add_func_int64_t_s_s(((safe_div_func_int8_t_s_s(((l_1383 &= ((safe_lshift_func_int32_t_s_s((((void*)0 == l_1170[5][1]) > (safe_lshift_func_uint8_t_u_u((((((((l_1146[(g_107 + 5)][g_543.f5] == (safe_add_func_int8_t_s_s(((!((((l_1146[g_543.f5][g_107] , g_1225) != l_1382) | ((void*)0 != &g_518)) && l_1146[(g_107 + 5)][g_543.f5])) == (*l_1147)), l_1146[(g_107 + 5)][g_543.f5]))) | p_64) < g_272.f0) , p_64) , 0xAD07L) | 0x48B3L) && l_1146[g_543.f5][g_107]), p_65))), 31)) ^ 2UL)) ^ 4294967290UL), 0x44L)) , 0L), p_65)) <= l_1146[(g_543.f5 + 1)][g_107]) > g_543.f7) | l_1146[(g_107 + 5)][g_543.f5]) , p_65) >= (*l_1147))) >= 255UL)), (*l_1147)))), g_269.f5)) < (*l_1147));
            if ((safe_lshift_func_uint64_t_u_s(((0L || ((g_994++) != ((l_1395 = ((*l_1392) = (void*)0)) == (l_1408 = (((l_1145 = ((g_358 = p_65) >= ((void*)0 == l_1398))) , (safe_mul_func_uint16_t_u_u((l_1401 != &g_517), (safe_unary_minus_func_int16_t_s((safe_sub_func_int32_t_s_s((p_64 > 4294967295UL), 3L))))))) , l_1406))))) != (*l_1147)), 34)))
            { /* block id: 611 */
                (*l_1386) = g_1410;
            }
            else
            { /* block id: 613 */
                for (g_360 = 0; (g_360 <= 1); g_360 += 1)
                { /* block id: 616 */
                    int64_t l_1415 = 0L;
                    int32_t **l_1417 = &g_1068[0];
                    int32_t l_1426 = 6L;
                    for (l_1315 = 0; (l_1315 <= 0); l_1315 += 1)
                    { /* block id: 619 */
                        (*g_72) = &g_3;
                    }
                    for (g_892 = 0; (g_892 <= 1); g_892 += 1)
                    { /* block id: 624 */
                        int i, j, k;
                        if (g_488[(g_107 + 2)][(g_107 + 4)][g_892])
                            break;
                        l_1426 = ((*l_1386) = (safe_sub_func_uint64_t_u_u((g_488[(g_892 + 1)][(g_360 + 5)][g_360] < (((((&g_1068[0] == ((safe_div_func_uint64_t_u_u(18446744073709551606UL, (l_1416[2][0][5] = l_1415))) , l_1417)) & ((!((*g_1361) > (+(safe_sub_func_uint32_t_u_u(((safe_lshift_func_int8_t_s_u((-3L), 7)) | (l_1424 |= (-1L))), 9UL))))) && l_1425[1][8][2])) ^ p_64) & p_63) >= 0x1AL)), (*l_1147))));
                    }
                    (*l_1417) = p_62;
                }
                (*g_72) = &l_1219;
            }
            if (((-1L) && (*l_1147)))
            { /* block id: 635 */
                return (*l_1147);
            }
            else
            { /* block id: 637 */
                int8_t l_1434[7][10] = {{0x45L,0x0DL,0x0DL,0x45L,0xD5L,0x45L,0x0DL,0x0DL,0x45L,0xD5L},{0x45L,0x0DL,0x0DL,0x45L,0xD5L,0x45L,0x0DL,0x0DL,0x45L,0xD5L},{0x45L,0x0DL,0x0DL,0x45L,0xD5L,0x45L,0x0DL,0x0DL,0x45L,0xD5L},{0x45L,0x0DL,0x0DL,0x45L,0xD5L,0x45L,0x45L,0x45L,(-1L),0x28L},{(-1L),0x45L,0x45L,(-1L),0x28L,(-1L),0x45L,0x45L,(-1L),0x28L},{(-1L),0x45L,0x45L,(-1L),0x28L,(-1L),0x45L,0x45L,(-1L),0x28L},{(-1L),0x45L,0x45L,(-1L),0x28L,(-1L),0x45L,0x45L,(-1L),0x28L}};
                int32_t l_1437 = 9L;
                int32_t l_1438 = 0xDAD5E0BAL;
                int32_t l_1439 = 0xAEE038BAL;
                int32_t l_1440[6] = {0x440078A3L,0x440078A3L,0x440078A3L,0x440078A3L,0x440078A3L,0x440078A3L};
                uint8_t **l_1485 = &g_1361;
                uint8_t ***l_1484 = &l_1485;
                uint8_t ****l_1483 = &l_1484;
                uint8_t ***** const l_1482 = &l_1483;
                const int32_t ** const **l_1504 = &l_1501[6][1];
                int16_t l_1607 = 7L;
                uint8_t ** const *l_1618 = &l_1485;
                int32_t l_1619 = 0L;
                int i, j;
                if (l_1427)
                { /* block id: 638 */
                    int32_t *l_1429 = &l_1145;
                    int32_t *l_1430 = &l_1146[g_543.f5][g_107];
                    int32_t *l_1431 = &g_279;
                    int32_t *l_1432 = &l_1146[(g_543.f5 + 1)][g_107];
                    int32_t *l_1433 = &l_1319[0][1];
                    int32_t *l_1435[7];
                    int32_t l_1436[2][7][9] = {{{(-6L),4L,0L,0x9BDDAD7FL,(-8L),7L,0xC7552791L,0x3D786498L,0L},{0x00BAEC99L,0xD59EFDCFL,(-4L),4L,0x75C5DAACL,0x783B0278L,1L,(-1L),(-1L)},{0L,(-2L),4L,(-1L),4L,(-2L),0L,7L,0xE5343C28L},{(-1L),0x8358088CL,(-1L),0x52505B46L,(-10L),0xC9F95957L,0x00DD6276L,0x75C5DAACL,(-4L)},{2L,0L,0x5A969E7EL,3L,8L,0x91C1B87AL,1L,7L,0x508D9D24L},{(-6L),(-1L),0L,(-1L),4L,(-1L),0L,(-1L),(-6L)},{0L,0xE5343C28L,(-1L),0xF51ABE92L,0x508D9D24L,(-6L),(-1L),0x3D786498L,0x2ECA2FEAL}},{{0x9C8A0D8AL,(-4L),0L,(-1L),0x2B590691L,(-6L),(-10L),0L,0x52505B46L},{0L,0x508D9D24L,(-1L),(-8L),2L,0x5A969E7EL,2L,(-8L),(-1L)},{(-6L),(-6L),(-1L),0xD59EFDCFL,0x9C8A0D8AL,0x00BAEC99L,(-7L),4L,0x99EC1384L},{2L,0x2ECA2FEAL,0x9BDDAD7FL,0xC7552791L,(-7L),0xF51ABE92L,0xE5343C28L,6L,0x027C8B7BL},{(-1L),0x52505B46L,(-1L),1L,1L,0xCAF6A446L,0L,0xCAF6A446L,1L},{0L,(-1L),(-1L),0L,3L,0x9BDDAD7FL,0x5A969E7EL,0x2ECA2FEAL,1L},{0x00BAEC99L,0x99EC1384L,0L,0x00DD6276L,(-1L),0L,0x75C5DAACL,1L,0xCAF6A446L}}};
                    int i, j, k;
                    for (i = 0; i < 7; i++)
                        l_1435[i] = &l_1146[(g_543.f5 + 1)][g_107];
                    (*l_1386) |= ((+g_49[7][0]) < p_61);
                    --l_1448;
                }
                else
                { /* block id: 641 */
                    int64_t l_1467[9][9] = {{(-1L),1L,0xEA588E03B6A8C9E1LL,(-2L),0x43C8E70E783E036CLL,(-8L),(-8L),0x43C8E70E783E036CLL,(-2L)},{1L,(-1L),1L,0x6B2BEBAAA249B019LL,(-8L),1L,0xBB310D14F7F610FDLL,0xAA84BA98939A09EDLL,0xAA84BA98939A09EDLL},{0x923BE3983E1DB885LL,(-1L),0xAA84BA98939A09EDLL,(-8L),0xAA84BA98939A09EDLL,(-1L),0x923BE3983E1DB885LL,1L,0xAA84BA98939A09EDLL},{1L,0x923BE3983E1DB885LL,0x43C8E70E783E036CLL,0xBC357461C92CAAF6LL,1L,(-2L),1L,0xBC357461C92CAAF6LL,0x43C8E70E783E036CLL},{0x43C8E70E783E036CLL,0x43C8E70E783E036CLL,(-1L),0x6B2BEBAAA249B019LL,0xAA84BA98939A09EDLL,0x923BE3983E1DB885LL,(-2L),1L,(-2L)},{0x43C8E70E783E036CLL,0L,0x923BE3983E1DB885LL,0x923BE3983E1DB885LL,0L,0x43C8E70E783E036CLL,0x6B2BEBAAA249B019LL,0xBB310D14F7F610FDLL,(-8L)},{1L,0xBC357461C92CAAF6LL,(-1L),(-8L),0L,0L,(-8L),(-1L),0xBC357461C92CAAF6LL},{0L,0xEA588E03B6A8C9E1LL,0x43C8E70E783E036CLL,1L,0xAA84BA98939A09EDLL,0xBC357461C92CAAF6LL,0x6B2BEBAAA249B019LL,0x6B2BEBAAA249B019LL,0xBC357461C92CAAF6LL},{1L,(-1L),0xBB310D14F7F610FDLL,(-1L),1L,0xEA588E03B6A8C9E1LL,(-2L),0x43C8E70E783E036CLL,(-8L)}};
                    int i, j;
                    for (l_1441 = 0; (l_1441 <= 1); l_1441 += 1)
                    { /* block id: 644 */
                        int i, j, k;
                        return g_488[(g_107 + 2)][g_107][l_1441];
                    }
                    for (l_1188 = 1; (l_1188 >= 0); l_1188 -= 1)
                    { /* block id: 649 */
                        int32_t l_1458 = 0x96542B3AL;
                        int i, j, k;
                        (*g_72) = func_37(((~(((safe_mul_func_uint8_t_u_u(g_488[(g_107 + 2)][(l_1188 + 1)][g_107], g_488[g_107][(g_107 + 5)][g_107])) <= ((2UL <= (safe_rshift_func_int32_t_s_s(p_61, (safe_lshift_func_int32_t_s_u(((((--p_65) == (safe_mul_func_int8_t_s_s((safe_add_func_uint32_t_u_u((((safe_sub_func_uint16_t_u_u(g_733.f2, ((g_461 = g_57[0][3]) ^ l_1467[0][0]))) && 1UL) || (*l_1386)), 6UL)), l_1468))) || g_360) > l_1469), 29))))) < p_63)) != p_61)) , l_1434[2][5]), g_897[3][6].f6, (*g_932), l_1470, p_63);
                    }
                }
                l_1440[1] = (safe_sub_func_int32_t_s_s((safe_rshift_func_uint64_t_u_s(l_1475[0], (safe_rshift_func_uint64_t_u_u(g_337.f2, 54)))), ((p_63 , p_64) , ((((safe_sub_func_int16_t_s_s((safe_add_func_int16_t_s_s((l_1482 == (void*)0), (safe_lshift_func_uint64_t_u_u((safe_sub_func_uint32_t_u_u((((+(safe_mul_func_int8_t_s_s((safe_add_func_int16_t_s_s(0xC406L, (((((safe_lshift_func_uint32_t_u_u(((safe_mod_func_int64_t_s_s(((safe_mod_func_int16_t_s_s(((&g_72 == ((*l_1504) = l_1501[3][0])) ^ 0x4A660F92L), (-1L))) | g_733.f2), p_61)) == g_107), 9)) < 0x611B3308L) , 65535UL) & 0x0AC5L) || p_63))), 0xEBL))) > 0x3A647B7E5A3A640ELL) != p_65), 4294967295UL)), (*l_1147))))), 6UL)) , (void*)0) == &g_72) , p_61))));
                if (((((~(l_1530 = (safe_rshift_func_int16_t_s_s(((!(safe_add_func_int64_t_s_s(((((safe_add_func_int16_t_s_s((safe_lshift_func_uint16_t_u_u(((!((*l_1299) = ((((g_1516 == &l_1408) >= ((void*)0 != &g_9)) < (((((p_65 ^ (safe_mul_func_uint32_t_u_u((safe_sub_func_int32_t_s_s(((((safe_mod_func_uint64_t_u_u(p_64, (safe_div_func_uint16_t_u_u(p_65, (+0x7EL))))) & (2L & p_65)) ^ l_1529) | p_63), p_63)), 0UL))) , 0x70CBL) || (*l_1147)) > g_337.f0) ^ 0x4AL)) && p_64))) != p_63), g_543.f2)), 0x5D38L)) , p_63) , (*l_1147)) != p_61), g_24[1][7][1]))) <= 0x1A083B2FD76C59BALL), 0)))) > 0L) | p_65) > 1L))
                { /* block id: 659 */
                    uint32_t l_1539 = 0UL;
                    int32_t l_1581 = 7L;
                    int32_t *l_1586 = &l_1319[0][4];
                    int8_t **l_1588 = &l_1384[5];
                    int8_t ***l_1587 = &l_1588;
                    for (g_1005 = 0; (g_1005 <= 1); g_1005 += 1)
                    { /* block id: 662 */
                        int32_t ***l_1542[1];
                        int i, j, k;
                        for (i = 0; i < 1; i++)
                            l_1542[i] = &g_72;
                        (*l_1386) = (safe_mod_func_uint64_t_u_u((safe_lshift_func_uint32_t_u_u(((**l_1407) = (((safe_rshift_func_uint64_t_u_s((safe_lshift_func_int32_t_s_s(((((l_1151[(g_1005 + 2)][g_543.f5][g_543.f5] , (((((((**l_1382) = (0x77L != ((*****l_1482) &= l_1539))) >= p_63) ^ (safe_lshift_func_uint64_t_u_s(((&g_73 != (g_72 = &g_73)) < p_65), (safe_mod_func_uint8_t_u_u((safe_rshift_func_int16_t_s_u(((void*)0 != l_1547[3][1]), g_279)), p_61))))) && 8L) || p_61) > 0x29L)) == g_107) | 3L) != (**l_1502)), p_61)), p_65)) & 18446744073709551614UL) || p_63)), (*l_1386))), p_61));
                        (*l_1386) |= (((safe_mod_func_uint16_t_u_u(l_1551[8], 0x55D3L)) ^ p_65) | (safe_rshift_func_uint8_t_u_u(((safe_mod_func_int32_t_s_s((((***l_1406) = (((-1L) || ((((safe_add_func_uint8_t_u_u(((((g_250 || (&g_72 != &g_72)) != (((safe_div_func_uint8_t_u_u(((*g_1361) ^= (p_65 & (g_488[0][0][1] | g_725[2]))), g_541[5].f2)) , p_61) , 0xD7F5L)) && 1UL) , p_63), l_1539)) >= l_1560) || g_272.f6) | p_65)) != 0x9E835CE372A7025ALL)) | 6UL), p_61)) | p_64), 1)));
                        return p_64;
                    }
                    (*l_1586) |= (safe_lshift_func_uint16_t_u_s(((safe_lshift_func_uint32_t_u_s((safe_lshift_func_uint32_t_u_u(p_61, p_63)), 7)) > (((**l_1407) = (safe_add_func_int32_t_s_s((safe_div_func_uint64_t_u_u((safe_mod_func_uint8_t_u_u(((safe_mod_func_uint32_t_u_u(((safe_mul_func_int64_t_s_s((-1L), ((safe_mod_func_int8_t_s_s(0L, ((8UL || (safe_lshift_func_int16_t_s_u((l_1581 = g_24[2][6][0]), 2))) | p_63))) > ((safe_add_func_int16_t_s_s(((18446744073709551607UL ^ (((safe_sub_func_uint8_t_u_u((((3UL ^ p_64) || p_61) && p_65), p_64)) == g_897[3][6].f7) || (-1L))) > (**l_1502)), (*l_1386))) | p_64)))) || p_64), p_65)) ^ g_142), 5UL)), 18446744073709551607UL)), p_61))) ^ (-1L))), p_65));
                    (*l_1587) = &l_1384[5];
                }
                else
                { /* block id: 677 */
                    uint8_t l_1598 = 255UL;
                    int32_t *l_1620 = (void*)0;
                    int32_t *l_1621 = (void*)0;
                    int32_t *l_1622 = &l_1146[g_543.f5][g_107];
                    int32_t *l_1623[3][2] = {{&l_1146[(g_543.f5 + 1)][g_107],&l_1146[(g_543.f5 + 1)][g_107]},{&l_1447[0],&l_1146[(g_543.f5 + 1)][g_107]},{&l_1146[(g_543.f5 + 1)][g_107],&l_1447[0]}};
                    int i, j;
                    (*l_1386) = ((p_61 = (safe_mul_func_uint32_t_u_u((g_1591 , ((((safe_sub_func_int8_t_s_s(0L, (safe_sub_func_int32_t_s_s((safe_mod_func_int32_t_s_s(l_1598, ((*l_1289)--))), (0x7653A20AL ^ ((safe_lshift_func_uint8_t_u_s(p_64, (0x2ACEL && ((**l_1382) = (((((safe_mul_func_uint32_t_u_u(l_1607, (safe_mod_func_int16_t_s_s((((safe_mul_func_uint32_t_u_u(4294967292UL, (p_64 == (*l_1147)))) & p_65) , g_1296[5]), g_205)))) , 0x62DBE8643C1FBEA3LL) , 0x2EL) , l_1612) <= l_1613))))) == p_61)))))) >= p_64) >= l_1598) ^ g_897[3][6].f0)), p_65))) ^ p_64);
                    (*l_1502) = (p_61 , func_37(p_63, (l_1598 , (safe_mul_func_uint8_t_u_u((((p_63 ^ 0UL) >= ((safe_div_func_uint8_t_u_u((((l_1618 != (**l_1482)) || (p_65 > p_64)) < g_733.f2), p_61)) , g_404.f6)) & p_61), p_61))), (*p_62), g_269.f2, l_1598));
                    g_1624--;
                    l_1628[5]--;
                }
            }
            for (l_1529 = 0; (l_1529 <= 1); l_1529 += 1)
            { /* block id: 689 */
                if (p_61)
                    break;
                if ((**l_1502))
                    break;
                (*l_1502) = p_62;
            }
        }
        for (g_350 = 0; (g_350 <= 1); g_350 += 1)
        { /* block id: 697 */
            int16_t l_1631 = 0L;
            int32_t l_1639 = (-1L);
            int32_t l_1642 = 5L;
            int32_t ****l_1644[10][9][2] = {{{&l_1633,(void*)0},{(void*)0,&l_1633},{(void*)0,(void*)0},{&l_1633,&l_1633},{(void*)0,&l_1633},{&l_1633,&l_1633},{(void*)0,(void*)0},{(void*)0,&l_1633},{(void*)0,&l_1633}},{{&l_1633,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{(void*)0,&l_1633},{(void*)0,(void*)0},{(void*)0,&l_1633},{&l_1633,&l_1633}},{{(void*)0,&l_1633},{&l_1633,(void*)0},{(void*)0,&l_1633},{(void*)0,(void*)0},{&l_1633,&l_1633},{(void*)0,&l_1633},{&l_1633,&l_1633},{(void*)0,(void*)0},{(void*)0,&l_1633}},{{(void*)0,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{(void*)0,&l_1633},{(void*)0,(void*)0},{(void*)0,&l_1633}},{{&l_1633,&l_1633},{(void*)0,&l_1633},{&l_1633,(void*)0},{(void*)0,&l_1633},{(void*)0,(void*)0},{&l_1633,&l_1633},{(void*)0,&l_1633},{&l_1633,&l_1633},{(void*)0,(void*)0}},{{(void*)0,&l_1633},{(void*)0,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{(void*)0,&l_1633},{(void*)0,(void*)0}},{{(void*)0,&l_1633},{&l_1633,&l_1633},{(void*)0,&l_1633},{&l_1633,(void*)0},{(void*)0,&l_1633},{(void*)0,(void*)0},{&l_1633,&l_1633},{(void*)0,&l_1633},{&l_1633,&l_1633}},{{(void*)0,(void*)0},{(void*)0,(void*)0},{&l_1633,&l_1633},{&l_1633,(void*)0},{(void*)0,&l_1633},{&l_1633,&l_1633},{(void*)0,(void*)0},{&l_1633,&l_1633},{&l_1633,(void*)0}},{{(void*)0,(void*)0},{&l_1633,&l_1633},{(void*)0,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633},{&l_1633,&l_1633}},{{(void*)0,&l_1633},{&l_1633,(void*)0},{(void*)0,(void*)0},{&l_1633,&l_1633},{&l_1633,(void*)0},{(void*)0,&l_1633},{&l_1633,&l_1633},{(void*)0,(void*)0},{&l_1633,&l_1633}}};
            int32_t *l_1660 = &l_1319[0][1];
            int64_t l_1682[9][2];
            uint32_t **** const l_1708 = &g_930;
            uint8_t ****l_1727 = (void*)0;
            uint32_t ***l_1745 = &l_1409;
            uint32_t ****l_1752 = &g_930;
            uint32_t l_1810 = 18446744073709551615UL;
            uint8_t l_1832 = 1UL;
            int i, j, k;
            for (i = 0; i < 9; i++)
            {
                for (j = 0; j < 2; j++)
                    l_1682[i][j] = 0x391A9304404E60A0LL;
            }
            l_1631 |= (*l_1147);
            l_1146[0][7] = (l_1632 == (g_1645 = ((safe_mod_func_int64_t_s_s((~(((((((safe_lshift_func_int32_t_s_u(((l_1642 = (((l_1639 = (4UL == p_65)) < ((safe_sub_func_uint8_t_u_u(p_64, (((g_126[0][0][0] > ((void*)0 != &l_1188)) & p_65) | 1L))) & (*l_1147))) == g_404.f2)) , p_61), 26)) >= 8L) >= l_1643) && p_64) , p_64) > p_64) >= 0L)), p_63)) , l_1644[9][6][1])));
            if ((l_1319[0][3] = (p_65 && ((-2L) != (safe_rshift_func_int64_t_s_u(p_63, 11))))))
            { /* block id: 704 */
                uint64_t l_1653[9][6] = {{18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL,18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL},{18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL,18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL},{18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL,18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL},{18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL,18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL},{18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL,18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL},{18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL,18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL},{18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL,18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL},{18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL,18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL},{18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL,18446744073709551615UL,18446744073709551615UL,0x2113A8A40438D5C3LL}};
                int8_t *l_1654 = &l_1560;
                int16_t * const *l_1657 = &l_1354;
                int16_t * const **l_1658 = &l_1657;
                int16_t **l_1659 = &l_1353;
                int32_t *l_1661 = &l_1146[0][7];
                int32_t l_1669[1];
                int64_t *l_1676 = &l_1475[0];
                int i, j;
                for (i = 0; i < 1; i++)
                    l_1669[i] = 0x72FD0D21L;
                if ((((safe_mod_func_uint16_t_u_u(((safe_lshift_func_uint64_t_u_u(((l_1661 = (l_1660 = func_37(l_1653[0][5], (g_488[4][0][0] = ((*l_1654) = l_1653[2][3])), (safe_add_func_int32_t_s_s(0L, (((*l_1658) = l_1657) == (l_1659 = l_1659)))), g_541[5].f7, (*l_1147)))) == l_1662), 17)) == p_64), g_543.f2)) == p_63) , (*l_1661)))
                { /* block id: 711 */
                    uint32_t l_1663[10][5][5] = {{{18446744073709551614UL,0x5986DF3BL,0xF0D2597AL,0x75243AB3L,18446744073709551607UL},{1UL,0x784D5A4DL,0UL,2UL,3UL},{0UL,0x7876C4E3L,0xDFE41474L,0xABE6B15AL,0x87699BDDL},{0x8F6BFE6DL,0UL,0UL,2UL,0xDE2693A6L},{0x5986DF3BL,9UL,0UL,0xB752E528L,0xC11C65A8L}},{{0x7171C98BL,4UL,0xBEE37DA8L,1UL,0UL},{1UL,8UL,18446744073709551610UL,18446744073709551611UL,0UL},{18446744073709551610UL,0x5986DF3BL,0x6DE1C313L,0UL,0xC11C65A8L},{0UL,0UL,0xBA907ABAL,1UL,0xDE2693A6L},{0xC2AB305BL,18446744073709551614UL,0UL,0x0B21E099L,0x87699BDDL}},{{2UL,18446744073709551607UL,0x70EF794DL,18446744073709551615UL,3UL},{0x11BDD1BDL,2UL,18446744073709551615UL,0UL,18446744073709551607UL},{0x4F5FC7CDL,0UL,0xBEE37DA8L,0xDFE41474L,0xDFE41474L},{1UL,0x36CB95DAL,1UL,0x7DC9F1C1L,0UL},{0UL,0x784D5A4DL,0UL,0x75243AB3L,18446744073709551614UL}},{{0UL,0x8F6BFE6DL,8UL,0xABE6B15AL,0x7876C4E3L},{0x7876C4E3L,8UL,0UL,18446744073709551614UL,0UL},{5UL,1UL,0xABE6B15AL,1UL,0xEB283317L},{0UL,2UL,1UL,0UL,0x3D8118BCL},{18446744073709551607UL,18446744073709551610UL,0x6DE1C313L,18446744073709551614UL,0x36CB95DAL}},{{0x0B21E099L,18446744073709551607UL,0UL,0UL,0xC2AB305BL},{0xB752E528L,18446744073709551607UL,0x36CB95DAL,0UL,0x40451447L},{18446744073709551614UL,0UL,18446744073709551613UL,0xBE22DC34L,0x3CE9EF40L},{0UL,18446744073709551613UL,0xC2AB305BL,0x3D8118BCL,0x784D5A4DL},{0UL,9UL,0xC11C65A8L,0UL,0UL}},{{0UL,0xB752E528L,1UL,0x5E9A852FL,0xBEE37DA8L},{0UL,1UL,0xDFE41474L,8UL,0xBA907ABAL},{18446744073709551614UL,0x87699BDDL,0xD065789CL,0xA82E3D51L,8UL},{0xB752E528L,0x5F900830L,0x7876C4E3L,4UL,2UL},{0x0B21E099L,18446744073709551610UL,0UL,1UL,18446744073709551608UL}},{{18446744073709551607UL,0UL,8UL,0x3D8118BCL,0xE9974625L},{0UL,0x0B21E099L,0x0B21E099L,0UL,18446744073709551613UL},{5UL,0xBEE37DA8L,0x6DE1C313L,0xC0BA8AF6L,0x3D8118BCL},{0x3CE9EF40L,1UL,0x662DC872L,0xBA907ABAL,0xC2AB305BL},{0xD065789CL,0UL,0UL,0xC0BA8AF6L,0xDC4440A8L}},{{0UL,0UL,0x36CB95DAL,0UL,2UL},{0xABE6B15AL,1UL,0xEB283317L,0x3D8118BCL,0UL},{0x6AD9FAF7L,18446744073709551615UL,0xDC4440A8L,1UL,18446744073709551615UL},{0UL,0xD065789CL,0x0B21E099L,4UL,0x87699BDDL},{0UL,18446744073709551611UL,0xDFE41474L,0xA82E3D51L,0xB752E528L}},{{0x3C4FB87DL,18446744073709551610UL,0UL,8UL,8UL},{0xD065789CL,0x3CE9EF40L,18446744073709551610UL,0x5E9A852FL,0x7171C98BL},{2UL,18446744073709551610UL,0xBA907ABAL,0UL,0x40451447L},{1UL,18446744073709551610UL,0UL,0x3D8118BCL,0xEB283317L},{0xC38E5F7DL,0x3CE9EF40L,0x7171C98BL,0xBE22DC34L,0x5986DF3BL}},{{5UL,18446744073709551610UL,0xC11C65A8L,0UL,18446744073709551613UL},{0x5F900830L,18446744073709551611UL,0x662DC872L,0UL,1UL},{0UL,0xD065789CL,1UL,18446744073709551614UL,0xDC4440A8L},{18446744073709551614UL,18446744073709551615UL,0UL,0UL,0x7171C98BL},{1UL,1UL,0xC2AB305BL,1UL,1UL}}};
                    int i, j, k;
                    l_1663[0][1][2]++;
                    (***l_1632) = p_62;
                    if (p_61)
                        continue;
                    return p_61;
                }
                else
                { /* block id: 716 */
                    const uint32_t *l_1668 = &g_1296[5];
                    int32_t l_1679 = 0xD0466D99L;
                    int32_t l_1681[1][7];
                    int16_t ***l_1696 = &l_1659;
                    int16_t ****l_1699 = &g_1697;
                    int i, j;
                    for (i = 0; i < 1; i++)
                    {
                        for (j = 0; j < 7; j++)
                            l_1681[i][j] = 0xE973B61FL;
                    }
                    (***l_1632) = p_62;
                    if ((safe_add_func_int8_t_s_s((&l_1612 != l_1668), p_65)))
                    { /* block id: 718 */
                        l_1669[0] ^= ((*l_1662) = (***g_1646));
                        (*l_1662) = (safe_lshift_func_int32_t_s_u((safe_add_func_int8_t_s_s(((safe_sub_func_uint16_t_u_u(p_64, (((((void*)0 == l_1676) && ((p_61 , (safe_div_func_uint64_t_u_u(0x1E26D45215759370LL, (*l_1660)))) | (((((&l_1396 == (void*)0) == (p_63 != 251UL)) , g_404.f5) , 0x9CL) <= (*l_1661)))) , &g_1225) == (void*)0))) & g_24[3][1][0]), 6L)), p_61));
                        (*l_1662) &= p_65;
                        (*g_72) = (*g_72);
                    }
                    else
                    { /* block id: 724 */
                        int8_t l_1680[2][6] = {{0x39L,0x04L,0x04L,0x39L,0x04L,0x04L},{0x39L,0x04L,0x04L,0x39L,0x04L,0x04L}};
                        int32_t l_1683 = 0L;
                        uint32_t *****l_1687[1];
                        int i, j;
                        for (i = 0; i < 1; i++)
                            l_1687[i] = &g_1241;
                        g_1684++;
                        g_1236[4][7][2] = l_1687[0];
                        if (p_64)
                            break;
                        if (l_1679)
                            continue;
                    }
                    l_1145 = (l_1679 = ((((safe_add_func_int8_t_s_s((safe_div_func_int64_t_s_s((safe_sub_func_int32_t_s_s(((((*l_1661) , ((safe_mul_func_int8_t_s_s(((l_1696 == ((*l_1699) = g_1697)) <= ((safe_mod_func_int32_t_s_s(((*l_1662) = ((0xEEF9E098L != ((safe_div_func_int16_t_s_s((safe_add_func_uint32_t_u_u(p_61, 8UL)), (safe_unary_minus_func_int64_t_s(((((void*)0 == (**l_1367)) & (-10L)) ^ p_63))))) != l_1707)) >= p_63)), 0xF25AA842L)) & 0x29F7C631E187E250LL)), 3UL)) >= g_1012)) , l_1679) , p_65), 0xF5BBE8FBL)), 0x81588BC75DD2569ALL)), (*l_1661))) , l_1708) == (*l_1242)) <= 0x6F39BB83CA4CA006LL));
                    l_1681[0][5] |= (****l_1632);
                }
            }
            else
            { /* block id: 736 */
                for (p_65 = 0; (p_65 <= 1); p_65 += 1)
                { /* block id: 739 */
                    int i, j, k;
                    g_1709 = (*l_1502);
                    if (g_337.f2)
                        goto lbl_1710;
                    if (g_488[(g_350 + 1)][(g_107 + 5)][g_107])
                        break;
                }
            }
            for (l_1282 = 0; (l_1282 <= 1); l_1282 += 1)
            { /* block id: 747 */
                uint8_t *****l_1726 = &g_1723;
                int16_t l_1732 = 0xB2CBL;
                uint64_t *l_1733 = &g_388;
                int16_t l_1734[3];
                uint32_t l_1753 = 1UL;
                int32_t l_1760 = 8L;
                int32_t l_1763 = (-1L);
                int32_t l_1764 = 0x7DB9CBDFL;
                int32_t l_1766 = 0x99484F5FL;
                int32_t l_1768 = (-1L);
                int32_t l_1769 = 1L;
                int32_t l_1770[7];
                int i, j, k;
                for (i = 0; i < 3; i++)
                    l_1734[i] = 8L;
                for (i = 0; i < 7; i++)
                    l_1770[i] = 2L;
                l_1734[1] = (g_488[(l_1282 + 2)][l_1282][l_1282] < (safe_lshift_func_uint64_t_u_s(((*l_1733) = (safe_mod_func_int16_t_s_s((((safe_sub_func_uint8_t_u_u(((*g_1361) ^= (g_488[l_1282][(g_107 + 4)][g_350] == g_725[1])), (safe_mod_func_uint32_t_u_u(((safe_lshift_func_uint16_t_u_s((((*l_1299) &= (((*l_1662) = (safe_add_func_int64_t_s_s((-1L), (((((l_1727 = ((*l_1726) = g_1723)) != (void*)0) & (safe_mul_func_uint64_t_u_u((safe_div_func_int64_t_s_s((g_272.f5 ^= p_64), g_897[3][6].f5)), (l_1732 , l_1732)))) <= p_63) < (-6L))))) , g_250)) == p_65), 12)) , p_65), 0x8FBA7CC1L)))) , p_63) ^ g_269.f6), p_61))), 48)));
                (*l_1662) = 8L;
                l_1146[1][5] = ((safe_add_func_int64_t_s_s((safe_mul_func_uint8_t_u_u(((((((*l_1662) = (((*l_1733) = ((safe_mod_func_uint16_t_u_u((0UL != ((1UL != ((**l_1401) = p_61)) && ((((safe_lshift_func_uint32_t_u_s((0xCF793D1AL | (safe_sub_func_int8_t_s_s(g_404.f5, ((void*)0 != l_1745)))), ((l_1747 = l_1746) == ((((*l_1242) = ((safe_mod_func_uint8_t_u_u((safe_rshift_func_uint64_t_u_u(((0x1FF4A897A58B79C6LL <= (*l_1660)) , g_1003), 60)), p_64)) , l_1752)) != &g_930) , &g_488[(l_1282 + 2)][l_1282][l_1282])))) | (-6L)) < 0x443DL) , p_61))), l_1753)) , p_61)) >= p_63)) < 0x9477E039L) , (void*)0) == l_1754) || 0xFEL), 7UL)), p_65)) >= l_1756[2]);
                for (l_1631 = 1; (l_1631 >= 0); l_1631 -= 1)
                { /* block id: 765 */
                    int16_t l_1759 = 1L;
                    int32_t l_1761 = 0xC60E3495L;
                    int32_t l_1762[1][2];
                    int32_t l_1771 = (-3L);
                    uint8_t l_1781 = 0xD9L;
                    uint32_t *l_1804 = &g_892;
                    int i, j;
                    for (i = 0; i < 1; i++)
                    {
                        for (j = 0; j < 2; j++)
                            l_1762[i][j] = 1L;
                    }
                    if ((safe_mod_func_int32_t_s_s(p_63, p_63)))
                    { /* block id: 766 */
                        int32_t l_1765 = 8L;
                        int32_t l_1767[4][1] = {{1L},{0xF5776E4FL},{1L},{0xF5776E4FL}};
                        uint64_t l_1772 = 4UL;
                        int i, j;
                        l_1772++;
                        if (l_1769)
                            continue;
                        if (p_64)
                            continue;
                        (*l_1169) = g_271;
                    }
                    else
                    { /* block id: 771 */
                        int16_t l_1777 = (-1L);
                        uint32_t ** const *l_1780 = &l_1152;
                        uint32_t ** const **l_1779 = &l_1780;
                        uint32_t ** const ***l_1778[9][9][3] = {{{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779}},{{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779}},{{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779}},{{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779}},{{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779}},{{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779}},{{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779}},{{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,(void*)0},{&l_1779,&l_1779,&l_1779},{(void*)0,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{(void*)0,(void*)0,&l_1779}},{{&l_1779,&l_1779,&l_1779},{&l_1779,(void*)0,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779},{&l_1779,&l_1779,&l_1779}}};
                        int32_t l_1788 = 0x5CF7B723L;
                        int i, j, k;
                        l_1770[1] &= ((-1L) & ((p_63 != (l_1761 ^= (p_65 > (safe_lshift_func_uint8_t_u_s((l_1777 > ((*l_1289) = ((void*)0 == l_1778[6][0][2]))), ((&g_519 != (l_1781 , (*l_1745))) == 0xE4L)))))) , p_65));
                        l_1788 ^= (safe_lshift_func_int64_t_s_s((safe_mod_func_uint16_t_u_u((safe_lshift_func_int32_t_s_u(((**l_1727) == (void*)0), p_63)), (*l_1147))), 40));
                    }
                    for (g_272.f0 = 0; (g_272.f0 <= 1); g_272.f0 += 1)
                    { /* block id: 779 */
                        uint8_t ** const ***l_1807 = &l_1805;
                        int32_t l_1808[6][6] = {{0xCC159F88L,(-8L),0xCC159F88L,(-8L),0xCC159F88L,(-8L)},{0xFA92292FL,(-8L),0xFA92292FL,(-8L),0xFA92292FL,(-8L)},{0xCC159F88L,(-8L),0xCC159F88L,(-8L),0xCC159F88L,(-8L)},{0xFA92292FL,(-8L),0xFA92292FL,(-8L),0xFA92292FL,(-8L)},{0xCC159F88L,(-8L),0xCC159F88L,(-8L),0xCC159F88L,(-8L)},{0xFA92292FL,(-8L),0xFA92292FL,(-8L),0xFA92292FL,(-8L)}};
                        int i, j;
                        (*l_1662) &= ((safe_mul_func_uint16_t_u_u(((((-8L) | 65535UL) >= (safe_mod_func_int8_t_s_s((((((safe_lshift_func_int8_t_s_s(((+((p_65 & ((safe_mul_func_int8_t_s_s((safe_rshift_func_int32_t_s_s((safe_sub_func_uint8_t_u_u((l_1808[1][1] = ((((g_337.f2 || (safe_add_func_uint32_t_u_u((p_65 != (((p_65 , &p_64) == l_1804) , ((**g_1725) |= ((((((*l_1807) = l_1805) != (void*)0) , p_65) != 0L) || l_1781)))), p_65))) , l_1808[0][0]) < 0x3E0450E2D6F7A102LL) , 0x29L)), p_61)), 15)), p_63)) ^ 0UL)) , 0xCD0DFE9DDD3C74BFLL)) == 0x35L), l_1809[2][0])) >= 4294967295UL) & 0xF6F8L) , l_1746) == (void*)0), p_61))) , g_250), 0x8A10L)) >= 0x2FD476C8L);
                        (*l_1662) |= (g_1410 , (-2L));
                        (*l_1662) = p_61;
                        --l_1810;
                    }
                }
            }
            for (l_1188 = 1; (l_1188 >= 0); l_1188 -= 1)
            { /* block id: 792 */
                int16_t *l_1824 = &g_314;
                uint32_t l_1825 = 1UL;
                int64_t **l_1826 = &l_1402[2];
                int32_t l_1828 = (-1L);
                int32_t l_1829 = (-1L);
                int32_t l_1831[3][7];
                int i, j, k;
                for (i = 0; i < 3; i++)
                {
                    for (j = 0; j < 7; j++)
                        l_1831[i][j] = 0x86DA1346L;
                }
                l_1813 = 7L;
                (*l_1662) = (0L != ((safe_rshift_func_uint32_t_u_u(g_488[g_350][(l_1188 + 3)][g_350], (safe_div_func_int8_t_s_s(((((safe_div_func_int8_t_s_s(g_488[(g_350 + 3)][(g_107 + 2)][g_350], (l_1825 |= (((*l_1824) = (safe_add_func_uint64_t_u_u((&l_1548 == ((safe_div_func_uint64_t_u_u((*l_1147), p_64)) , &l_1708)), ((((void*)0 != (*l_1401)) != p_65) >= p_63)))) , g_892)))) <= 4294967287UL) , &g_517) != l_1826), 0xFAL)))) , 1L));
                l_1832++;
                return l_1829;
            }
        }
    }
    return (*l_1147);
}


/* ------------------------------------------ */
/* 
 * reads : g_107 g_269.f0 g_126 g_3 g_279 g_269.f6 g_215 g_250 g_317 g_49 g_205 g_269.f2 g_337.f7 g_358 g_360 g_9 g_272.f0 g_388 g_337.f6 g_269.f7 g_269.f5 g_350 g_57 g_45 g_272.f6 g_404.f7 g_404.f6 g_161 g_461 g_404.f5 g_272.f2 g_404.f0 g_314 g_337.f5 g_518 g_404.f2 g_337.f2 g_556 g_73 g_72 g_8 g_543.f5 g_337.f0 g_102 g_24 g_488 g_541.f0 g_132 g_543.f2 g_543.f6 g_541.f6 g_725 g_495 g_142 g_733.f6 g_482 g_483 g_523 g_733.f2 g_730.f7 g_730.f2 g_541.f5 g_892 g_271 g_897.f6 g_733.f0 g_930 g_931 g_543.f7 g_994 g_1005 g_733.f5 g_733.f7
 * writes: g_72 g_102 g_279 g_49 g_215 g_107 g_314 g_205 g_271 g_350 g_358 g_360 g_126 g_73 g_388 g_24 g_337.f6 g_482 g_488 g_404.f0 g_495 g_404.f2 g_337.f5 g_517 g_518 g_524 g_250 g_272.f0 g_733.f6 g_269.f5 g_269.f2 g_930 g_269.f0 g_543.f7 g_994 g_892 g_1005 g_161 g_733.f0
 */
static uint8_t  func_66(uint16_t  p_67, int32_t ** p_68, int32_t  p_69, int32_t * p_70)
{ /* block id: 108 */
    int32_t ***l_275 = &g_72;
    int32_t * const l_278 = &g_279;
    int32_t * const *l_277 = &l_278;
    int32_t * const **l_276 = &l_277;
    int32_t l_300 = 0x76D8D1D6L;
    int64_t *l_301 = &g_102;
    int32_t *l_302 = &g_49[0][4];
    uint32_t l_347[2][10][6] = {{{0x0B22182EL,0x14BB7842L,4294967287UL,0x9520D266L,0xC6494F46L,5UL},{0x0B22182EL,0xB6AD8240L,0x9520D266L,9UL,9UL,0x2EF9B219L},{1UL,0x86D169E2L,4294967295UL,0x8F174753L,0xB6AD8240L,0x83C4126FL},{0x6315E37EL,4294967295UL,9UL,4294967295UL,0x3E0FD2EDL,0x9520D266L},{0x8F174753L,4294967295UL,1UL,0x2EF9B219L,0xB6AD8240L,1UL},{4294967287UL,0x86D169E2L,1UL,1UL,9UL,0x0B22182EL},{1UL,0xB6AD8240L,5UL,0x6315E37EL,0xC6494F46L,1UL},{4294967295UL,0x14BB7842L,5UL,0x0B22182EL,0x86D169E2L,0x0B22182EL},{1UL,4294967289UL,1UL,0x83C4126FL,0xF24F6860L,1UL},{0x83C4126FL,0xF24F6860L,1UL,0xB566013AL,8UL,0x9520D266L}},{{1UL,0UL,9UL,0xB566013AL,0x6B189446L,0x83C4126FL},{0x83C4126FL,0UL,4294967295UL,0x83C4126FL,0x14BB7842L,0x2EF9B219L},{1UL,4294967293UL,0x9520D266L,0x0B22182EL,0x894B2788L,5UL},{4294967295UL,0xC6494F46L,4294967287UL,0x6315E37EL,0x894B2788L,4294967295UL},{1UL,4294967293UL,0x83C4126FL,1UL,0x14BB7842L,0x6315E37EL},{4294967287UL,0UL,0x8F174753L,0x2EF9B219L,0x6B189446L,4294967295UL},{0x8F174753L,0UL,1UL,4294967295UL,8UL,4294967295UL},{0x6315E37EL,0xF24F6860L,0x8F174753L,0x8F174753L,0xF24F6860L,0x6315E37EL},{1UL,4294967289UL,0x83C4126FL,9UL,4294967295UL,0xB843FA7BL},{1UL,1UL,0xD8D1ED09L,0xB191E2DDL,5UL,0x48DD4A24L}}};
    uint32_t l_415 = 18446744073709551614UL;
    uint8_t * const l_478 = &g_24[0][0][0];
    uint8_t * const *l_477 = &l_478;
    uint8_t * const * const *l_476 = &l_477;
    uint32_t *l_532 = &l_415;
    uint32_t **l_531 = &l_532;
    int64_t l_589 = 0x8570345AFA317B42LL;
    int32_t l_617 = 0xF614D934L;
    int32_t l_618 = 1L;
    int32_t l_619 = 0x8C6CE449L;
    int32_t l_620 = 0xEBA81AB7L;
    int32_t l_622 = 1L;
    int32_t l_624 = 0x33B96ACEL;
    int32_t l_625 = 0xDDD5F1F3L;
    int32_t l_629 = 1L;
    int32_t l_634 = (-1L);
    int16_t l_644 = (-7L);
    int32_t l_651 = (-1L);
    int32_t l_652[8] = {0x120E2773L,0x187EFAE6L,0x120E2773L,0x120E2773L,0x187EFAE6L,0x120E2773L,0x120E2773L,0x187EFAE6L};
    uint32_t l_653 = 0UL;
    int16_t l_920 = 0x1BDFL;
    int16_t l_978 = 0xBE33L;
    int32_t l_1004[7] = {0xBBF6C618L,6L,6L,0xBBF6C618L,6L,6L,0xBBF6C618L};
    int32_t l_1052[4] = {1L,1L,1L,1L};
    int i, j, k;
lbl_539:
    (*l_302) = ((*l_278) = ((safe_rshift_func_int64_t_s_u((((*l_275) = &g_73) != ((*l_276) = &p_70)), 19)) | (safe_add_func_int64_t_s_s(((*l_301) = ((safe_rshift_func_int32_t_s_s(((safe_lshift_func_uint8_t_u_u(g_107, 0)) == ((safe_rshift_func_uint32_t_u_s((safe_mod_func_uint64_t_u_u((safe_sub_func_uint64_t_u_u(g_269.f0, 18446744073709551608UL)), 0x8EF66F19170E0B8FLL)), 13)) ^ (((safe_mod_func_uint64_t_u_u((((g_126[1][5][0] || (g_3 ^ (safe_mod_func_uint64_t_u_u(((safe_sub_func_uint64_t_u_u((safe_rshift_func_int32_t_s_u(((p_69 , l_300) <= g_279), 15)), p_69)) && 0xFE27E4D4L), g_269.f6)))) != 0x90212D1324C2A5EDLL) == 0UL), 0x803BC4A1AD522047LL)) ^ 0x43L) > p_67))), (*p_70))) < (*l_278))), g_215))));
    for (g_215 = 0; (g_215 <= 1); g_215 += 1)
    { /* block id: 116 */
        int32_t l_309 = 0x59C979C9L;
        int8_t *l_312 = &g_107;
        int16_t *l_313 = &g_314;
        uint8_t *l_319 = &g_24[3][2][0];
        uint8_t **l_318[3];
        int32_t *l_372 = (void*)0;
        int32_t l_375 = 0xBC05A89FL;
        int32_t l_383 = (-3L);
        int32_t l_385 = 0x3C7869FAL;
        int32_t l_387 = 0x78BCFD70L;
        struct S0 *l_403 = &g_404;
        int32_t l_433 = 0x4AA2D1A5L;
        uint8_t l_513 = 0x34L;
        const uint32_t * const l_522 = &g_523;
        const uint32_t * const *l_521[4][7] = {{(void*)0,(void*)0,(void*)0,&l_522,(void*)0,(void*)0,(void*)0},{&l_522,&l_522,&l_522,&l_522,&l_522,&l_522,&l_522},{(void*)0,&l_522,(void*)0,(void*)0,(void*)0,(void*)0,&l_522},{&l_522,&l_522,&l_522,&l_522,&l_522,&l_522,&l_522}};
        struct S0 *l_542[6];
        int32_t l_562 = 0xDB11A2BAL;
        int32_t l_631 = (-4L);
        int32_t l_632 = 0x75307507L;
        int32_t l_633 = 5L;
        int32_t l_635 = 0x8BEB12BEL;
        int32_t l_636 = (-1L);
        int32_t l_642 = 0x232C451DL;
        uint64_t l_684 = 18446744073709551615UL;
        uint64_t l_727 = 0x87A80A2B75A13B01LL;
        int32_t *l_809[2];
        int32_t l_878 = 1L;
        int32_t l_893 = 0xB4ECE558L;
        int64_t l_895 = (-10L);
        uint32_t *** const l_929 = &l_531;
        uint16_t l_958 = 0x44F7L;
        int64_t l_982 = 0x20F711F5BC4E085BLL;
        int64_t l_987[3][5] = {{0L,0xA35565F6034F3C1BLL,0xA35565F6034F3C1BLL,0L,0xA35565F6034F3C1BLL},{0L,0L,0x0F4C08F502742540LL,0L,0L},{0xA35565F6034F3C1BLL,0L,0xA35565F6034F3C1BLL,0xA35565F6034F3C1BLL,0L}};
        int16_t l_988 = 7L;
        int32_t l_992 = (-3L);
        int16_t l_1001 = 4L;
        const uint32_t ***l_1037 = (void*)0;
        int64_t l_1053[10][5][5] = {{{0x040E3EDFB9DCD037LL,0L,9L,0xE69D9BD50778163ALL,(-4L)},{0xF6E8109A05551546LL,(-4L),9L,(-2L),1L},{0x02B2E6988B52EC56LL,0L,(-4L),0xE69D9BD50778163ALL,1L},{8L,(-1L),0x9D72DD1BB7D765DBLL,0x040E3EDFB9DCD037LL,(-4L)},{0x02B2E6988B52EC56LL,(-1L),0L,8L,0xBCD30E06F99915FBLL}},{{0xF6E8109A05551546LL,0L,0x9D72DD1BB7D765DBLL,8L,0x0C0EB9A87259077CLL},{0x040E3EDFB9DCD037LL,(-4L),(-4L),0x040E3EDFB9DCD037LL,0xBCD30E06F99915FBLL},{0x040E3EDFB9DCD037LL,0L,9L,0xE69D9BD50778163ALL,(-4L)},{0xF6E8109A05551546LL,(-4L),9L,(-2L),1L},{0x02B2E6988B52EC56LL,0L,(-4L),0xE69D9BD50778163ALL,1L}},{{8L,(-1L),0x9D72DD1BB7D765DBLL,0x040E3EDFB9DCD037LL,(-4L)},{0x02B2E6988B52EC56LL,(-1L),0L,8L,0xBCD30E06F99915FBLL},{0xF6E8109A05551546LL,0L,0x9D72DD1BB7D765DBLL,8L,0x0C0EB9A87259077CLL},{0x040E3EDFB9DCD037LL,(-4L),(-4L),0x040E3EDFB9DCD037LL,0xBCD30E06F99915FBLL},{0x040E3EDFB9DCD037LL,0L,9L,0xE69D9BD50778163ALL,(-4L)}},{{0xF6E8109A05551546LL,(-4L),9L,(-2L),1L},{0x02B2E6988B52EC56LL,0L,(-4L),0xE69D9BD50778163ALL,1L},{8L,(-1L),0x9D72DD1BB7D765DBLL,0x040E3EDFB9DCD037LL,(-4L)},{0x02B2E6988B52EC56LL,(-1L),0L,8L,0xBCD30E06F99915FBLL},{0xF6E8109A05551546LL,0L,0x9D72DD1BB7D765DBLL,8L,0x0C0EB9A87259077CLL}},{{0x040E3EDFB9DCD037LL,(-4L),(-4L),0x040E3EDFB9DCD037LL,0xBCD30E06F99915FBLL},{0x040E3EDFB9DCD037LL,0L,9L,0xE69D9BD50778163ALL,(-4L)},{0xF6E8109A05551546LL,(-4L),9L,(-2L),1L},{0x02B2E6988B52EC56LL,0L,(-4L),0xE69D9BD50778163ALL,1L},{0L,0x02B2E6988B52EC56LL,0xF6E8109A05551546LL,0x197E8FD596186244LL,0x8EC9D502EEDC80E8LL}},{{0x14745F58F35D67C3LL,0x02B2E6988B52EC56LL,(-4L),0L,(-2L)},{0x4194837BA30B1EFFLL,(-4L),0xF6E8109A05551546LL,0L,(-1L)},{0x197E8FD596186244LL,8L,8L,0x197E8FD596186244LL,(-2L)},{0x197E8FD596186244LL,0xE69D9BD50778163ALL,(-2L),(-2L),0x8EC9D502EEDC80E8LL},{0x4194837BA30B1EFFLL,8L,(-2L),0x8FE2DCF0FFF439AALL,(-8L)}},{{0x14745F58F35D67C3LL,(-4L),8L,(-2L),(-8L)},{0L,0x02B2E6988B52EC56LL,0xF6E8109A05551546LL,0x197E8FD596186244LL,0x8EC9D502EEDC80E8LL},{0x14745F58F35D67C3LL,0x02B2E6988B52EC56LL,(-4L),0L,(-2L)},{0x4194837BA30B1EFFLL,(-4L),0xF6E8109A05551546LL,0L,(-1L)},{0x197E8FD596186244LL,8L,8L,0x197E8FD596186244LL,(-2L)}},{{0x197E8FD596186244LL,0xE69D9BD50778163ALL,(-2L),(-2L),0x8EC9D502EEDC80E8LL},{0x4194837BA30B1EFFLL,8L,(-2L),0x8FE2DCF0FFF439AALL,(-8L)},{0x14745F58F35D67C3LL,(-4L),8L,(-2L),(-8L)},{0L,0x02B2E6988B52EC56LL,0xF6E8109A05551546LL,0x197E8FD596186244LL,0x8EC9D502EEDC80E8LL},{0x14745F58F35D67C3LL,0x02B2E6988B52EC56LL,(-4L),0L,(-2L)}},{{0x4194837BA30B1EFFLL,(-4L),0xF6E8109A05551546LL,0L,(-1L)},{0x197E8FD596186244LL,8L,8L,0x197E8FD596186244LL,(-2L)},{0x197E8FD596186244LL,0xE69D9BD50778163ALL,(-2L),(-2L),0x8EC9D502EEDC80E8LL},{0x4194837BA30B1EFFLL,8L,(-2L),0x8FE2DCF0FFF439AALL,(-8L)},{0x14745F58F35D67C3LL,(-4L),8L,(-2L),(-8L)}},{{0L,0x02B2E6988B52EC56LL,0xF6E8109A05551546LL,0x197E8FD596186244LL,0x8EC9D502EEDC80E8LL},{0x14745F58F35D67C3LL,0x02B2E6988B52EC56LL,(-4L),0L,(-2L)},{0x4194837BA30B1EFFLL,(-4L),0xF6E8109A05551546LL,0L,(-1L)},{0x197E8FD596186244LL,8L,8L,0x197E8FD596186244LL,(-2L)},{0x197E8FD596186244LL,0xE69D9BD50778163ALL,(-2L),(-2L),0x8EC9D502EEDC80E8LL}}};
        int32_t *l_1094 = (void*)0;
        uint8_t l_1098 = 2UL;
        int i, j, k;
        for (i = 0; i < 3; i++)
            l_318[i] = &l_319;
        for (i = 0; i < 6; i++)
            l_542[i] = &g_543;
        for (i = 0; i < 2; i++)
            l_809[i] = &g_49[0][4];
        if ((safe_rshift_func_uint8_t_u_s((((safe_mul_func_uint32_t_u_u((safe_rshift_func_int8_t_s_s(p_67, (((l_309 != ((safe_sub_func_uint16_t_u_u(((((*l_312) = (-1L)) && g_250) , l_309), ((((((*l_313) = 0xAF42L) , ((l_309 | (safe_mul_func_uint32_t_u_u(l_309, p_69))) ^ 0UL)) , g_317) == l_318[2]) >= 0x6EL))) < 9L)) && p_69) <= 0xBD61L))), 0L)) ^ (*l_278)) & 7UL), (*l_302))))
        { /* block id: 119 */
            uint8_t l_348 = 0xDCL;
            int8_t l_351 = 0x3CL;
            int32_t l_373 = (-5L);
            int32_t l_382[6] = {0xF9DAF100L,0xE58A2A1EL,0xF9DAF100L,0xF9DAF100L,0xE58A2A1EL,0xF9DAF100L};
            uint32_t *l_397[1];
            int32_t **l_408 = &g_73;
            int64_t *l_414 = &g_337.f5;
            uint8_t l_435 = 254UL;
            uint8_t l_472 = 253UL;
            uint8_t ** const *l_475[8] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
            int64_t l_512 = 0xEFDA3FE59ED488A8LL;
            struct S0 *l_540 = &g_541[5];
            uint32_t l_637 = 0xF1E7466DL;
            int8_t l_645 = 0xC2L;
            uint64_t l_646 = 0x0C2D2F6E9A410F57LL;
            int i;
            for (i = 0; i < 1; i++)
                l_397[i] = (void*)0;
            for (g_205 = 0; (g_205 <= 3); g_205 += 1)
            { /* block id: 122 */
                struct S0 *l_336 = &g_337;
                int16_t *l_349 = &g_350;
                int32_t l_376 = 0x8FDF5145L;
                uint8_t l_377 = 6UL;
                const uint32_t l_494[8] = {4294967293UL,4294967293UL,4294967293UL,4294967293UL,4294967293UL,4294967293UL,4294967293UL,4294967293UL};
                const uint32_t l_537 = 0UL;
                uint32_t l_544 = 0xCC1C535FL;
                int32_t l_623[10][4][6] = {{{(-6L),(-5L),(-6L),(-1L),0xEC67DBAEL,3L},{0xA9B60D4AL,3L,0x78C31135L,(-5L),0xA9B60D4AL,0x961A097BL},{0x42890521L,(-1L),(-1L),(-5L),(-1L),(-1L)},{0xA9B60D4AL,6L,(-1L),(-1L),0x9DBC944FL,3L}},{{(-6L),0x961A097BL,(-1L),4L,0xEC67DBAEL,0L},{0x9DBC944FL,0x961A097BL,0x78C31135L,0x961A097BL,0x9DBC944FL,(-5L)},{0x42890521L,6L,(-6L),0L,(-1L),6L},{0x9DBC944FL,(-1L),(-1L),6L,0xA9B60D4AL,6L}},{{(-6L),3L,(-6L),3L,0xEC67DBAEL,(-5L)},{0xA9B60D4AL,(-5L),0x78C31135L,3L,0xA9B60D4AL,0L},{0x42890521L,3L,(-1L),3L,(-1L),3L},{0xA9B60D4AL,4L,(-1L),3L,0x9DBC944FL,(-1L)}},{{(-6L),0L,(-1L),6L,0xEC67DBAEL,0x961A097BL},{0x9DBC944FL,0L,0x78C31135L,0L,0x9DBC944FL,3L},{0x42890521L,4L,(-6L),0x961A097BL,(-1L),4L},{0x9DBC944FL,3L,(-1L),4L,0xA9B60D4AL,4L}},{{(-6L),(-5L),(-6L),(-1L),0xEC67DBAEL,3L},{0xA9B60D4AL,3L,0x78C31135L,(-5L),0xA9B60D4AL,0x961A097BL},{0x42890521L,(-1L),(-1L),(-5L),(-1L),(-1L)},{0xA9B60D4AL,6L,(-1L),(-1L),0x9DBC944FL,3L}},{{(-6L),0x961A097BL,(-1L),4L,0xEC67DBAEL,0L},{0x9DBC944FL,0x961A097BL,0x78C31135L,0x961A097BL,0x9DBC944FL,(-5L)},{0x42890521L,6L,(-6L),0L,(-1L),6L},{0x9DBC944FL,(-1L),(-1L),6L,0xA9B60D4AL,6L}},{{(-6L),3L,(-6L),3L,0xEC67DBAEL,(-5L)},{0xA9B60D4AL,(-5L),0x78C31135L,3L,0xA9B60D4AL,0L},{0x42890521L,3L,(-1L),3L,(-1L),3L},{0xA9B60D4AL,4L,(-1L),3L,0x9DBC944FL,(-1L)}},{{(-6L),0L,(-1L),6L,0xEC67DBAEL,0x961A097BL},{0x9DBC944FL,0L,0x78C31135L,0L,0x9DBC944FL,3L},{0x42890521L,4L,(-6L),0x961A097BL,(-1L),4L},{0x9DBC944FL,3L,(-1L),4L,0xA9B60D4AL,4L}},{{(-6L),(-5L),(-6L),(-1L),0xEC67DBAEL,3L},{0xA9B60D4AL,3L,0x78C31135L,(-5L),0xA9B60D4AL,0x961A097BL},{0x42890521L,(-1L),(-1L),(-5L),(-1L),(-1L)},{0xA9B60D4AL,6L,(-1L),(-1L),0x9DBC944FL,3L}},{{(-6L),0x961A097BL,(-1L),4L,0xEC67DBAEL,0L},{0x9DBC944FL,0x961A097BL,0x78C31135L,0x961A097BL,0x9DBC944FL,(-5L)},{0x42890521L,6L,(-6L),0L,(-1L),6L},{0x9DBC944FL,(-1L),(-1L),6L,0xA9B60D4AL,6L}}};
                int32_t l_640 = 0x6CF92EE9L;
                int32_t l_643 = 0x614DC6E0L;
                int8_t l_649 = (-1L);
                int64_t l_650[2][7] = {{(-7L),1L,5L,1L,(-7L),0x3B70C2554D0E48A3LL,0x3B70C2554D0E48A3LL},{(-7L),1L,5L,1L,(-7L),0x3B70C2554D0E48A3LL,0x3B70C2554D0E48A3LL}};
                int i, j, k;
                if ((((safe_mod_func_int32_t_s_s(g_49[(g_205 + 1)][(g_205 + 2)], (safe_div_func_int32_t_s_s((((safe_mul_func_int32_t_s_s((l_351 &= (safe_sub_func_int64_t_s_s((safe_add_func_uint8_t_u_u(g_49[(g_215 + 4)][(g_215 + 4)], (((*l_313) = p_67) ^ (*l_278)))), ((safe_lshift_func_int16_t_s_u(g_49[0][4], 15)) || (safe_mod_func_int16_t_s_s(((*l_349) = ((safe_div_func_uint64_t_u_u((((g_271 = (void*)0) == l_336) , (0x87721780L <= (~(((safe_add_func_uint32_t_u_u((safe_mul_func_uint8_t_u_u((safe_lshift_func_uint8_t_u_u(((safe_lshift_func_uint8_t_u_u((g_3 == 0x42D2L), l_347[1][7][3])) ^ l_348), g_269.f2)), g_337.f7)), l_348)) <= g_49[(g_215 + 4)][(g_215 + 4)]) , (-1L))))), p_69)) & 5L)), g_49[0][4])))))), l_348)) == g_337.f7) > g_279), l_348)))) , 0L) , 0L))
                { /* block id: 127 */
                    struct S0 **l_352 = (void*)0;
                    struct S0 **l_353[4][6] = {{&l_336,&g_271,&l_336,&l_336,&g_271,&l_336},{&l_336,&l_336,&l_336,&l_336,&l_336,&l_336},{&l_336,&g_271,&l_336,&l_336,&g_271,&l_336},{&l_336,&g_271,&l_336,&l_336,&g_271,&l_336}};
                    int32_t l_356 = (-1L);
                    uint64_t *l_357 = &g_358;
                    uint64_t *l_359[1];
                    uint16_t *l_371 = &g_126[0][0][0];
                    int32_t l_384 = 0x150C1583L;
                    int32_t l_386 = 1L;
                    int i, j;
                    for (i = 0; i < 1; i++)
                        l_359[i] = &g_360;
                    g_271 = l_336;
                    if (((safe_sub_func_int8_t_s_s((p_67 | (l_356 == (l_351 && ((***l_276) , (((*l_357) ^= 0x122BF51D6180A187LL) ^ (g_360--)))))), ((4294967295UL == ((&g_205 != (void*)0) ^ (safe_sub_func_uint16_t_u_u((safe_div_func_uint16_t_u_u((safe_mul_func_uint16_t_u_u(((*l_371) = (safe_rshift_func_int32_t_s_s((g_9 == l_309), g_269.f6))), g_49[0][4])), p_67)), p_67)))) , 0x4AL))) & g_272.f0))
                    { /* block id: 132 */
                        int32_t *l_374[2][7][3] = {{{(void*)0,&g_57[0][0],(void*)0},{(void*)0,&g_49[0][4],(void*)0},{(void*)0,&g_57[0][0],(void*)0},{(void*)0,&g_49[0][4],(void*)0},{(void*)0,&g_57[0][0],(void*)0},{(void*)0,&g_49[0][4],(void*)0},{(void*)0,&g_57[0][0],(void*)0}},{{(void*)0,&g_49[0][4],(void*)0},{(void*)0,&g_57[0][0],(void*)0},{(void*)0,&g_49[0][4],(void*)0},{(void*)0,&g_57[0][0],(void*)0},{(void*)0,&g_49[0][4],(void*)0},{(void*)0,&g_57[0][0],(void*)0},{(void*)0,&g_49[0][4],(void*)0}}};
                        int i, j, k;
                        (*p_68) = l_372;
                        l_377--;
                    }
                    else
                    { /* block id: 135 */
                        int32_t *l_380 = &g_279;
                        int32_t *l_381[2];
                        int i;
                        for (i = 0; i < 2; i++)
                            l_381[i] = &g_49[1][0];
                        g_388++;
                    }
                    if ((*p_70))
                        break;
                    if (g_250)
                        continue;
                }
                else
                { /* block id: 140 */
                    uint32_t **l_398 = &l_397[0];
                    int32_t l_407 = (-4L);
                    uint64_t *l_409 = &g_358;
                    int32_t l_431 = 0L;
                    int32_t l_432 = (-1L);
                    int32_t l_434[2][4][5] = {{{1L,0x6623097AL,0L,0x3269744CL,0x1CF31BAFL},{0L,0L,0xB6392A88L,0L,0L},{0xE6CA02F0L,0x6623097AL,0xD36FD1B1L,0L,0xC2312C8DL},{0xE6CA02F0L,0xC2312C8DL,0x1CF31BAFL,0L,0L}},{{0L,0xEFAAA2DBL,0L,0x6623097AL,0xC2312C8DL},{1L,0L,0xC2312C8DL,0x6623097AL,0L},{0xC2312C8DL,0x1CF31BAFL,0L,0L,0x1CF31BAFL},{0x1CF31BAFL,0x0C252F89L,0xC2312C8DL,0L,0xD36FD1B1L}}};
                    int i, j, k;
                    (*l_278) &= (safe_lshift_func_int64_t_s_u(((safe_sub_func_int16_t_s_s((safe_lshift_func_uint64_t_u_u((6UL & (((*l_398) = l_397[0]) != (void*)0)), 21)), ((safe_lshift_func_int32_t_s_s((((*l_409) = ((safe_mul_func_uint32_t_u_u(((l_403 == l_403) | ((safe_mul_func_uint8_t_u_u((0L < (p_67 != l_407)), ((*l_319) = (l_408 != &p_70)))) , p_69)), (*p_70))) | g_337.f6)) , g_269.f7), l_407)) ^ g_269.f5))) == 0x654CC578BD2F8E4DLL), 26));
                    if ((((*l_312) ^= (g_350 | p_69)) && (safe_div_func_int16_t_s_s((safe_lshift_func_int64_t_s_s(((l_415 = (((g_57[4][2] && g_9) <= (l_309 , ((l_407 , (g_45[5][1][1] < ((*l_312) = ((l_407 & (l_301 != l_414)) || 0UL)))) , p_69))) >= 0x87BD513DE392BD67LL)) <= p_67), 59)), p_69))))
                    { /* block id: 148 */
                        uint8_t l_424[5] = {0x60L,0x60L,0x60L,0x60L,0x60L};
                        int32_t *l_429[2];
                        int32_t l_430 = (-1L);
                        int i;
                        for (i = 0; i < 2; i++)
                            l_429[i] = &g_279;
                        (*l_278) = (g_337.f6 = (&g_107 != ((((safe_div_func_int8_t_s_s((((*l_313) = l_407) < 0xEC62L), (safe_lshift_func_int32_t_s_s((safe_lshift_func_uint16_t_u_u((safe_lshift_func_uint8_t_u_s((((((((g_49[(g_215 + 4)][(g_215 + 4)] = l_424[3]) || p_69) != 2L) || (safe_mod_func_int16_t_s_s(1L, g_272.f6))) != g_358) | l_424[2]) , p_67), g_404.f7)), l_407)), 7)))) , g_269.f6) | g_404.f6) , &g_107)));
                        (*l_278) = (safe_rshift_func_uint32_t_u_s((g_269.f7 < ((*l_313) = l_424[0])), 19));
                        ++l_435;
                    }
                    else
                    { /* block id: 156 */
                        const int64_t *l_471 = (void*)0;
                        uint16_t *l_473 = &g_404.f0;
                        int32_t l_474[8] = {0x8A14CACBL,0x8A14CACBL,0x8A14CACBL,0x8A14CACBL,0x8A14CACBL,0x8A14CACBL,0x8A14CACBL,0x8A14CACBL};
                        uint8_t * const * const **l_479 = &l_476;
                        uint8_t * const * const *l_481 = (void*)0;
                        uint8_t * const * const **l_480[9] = {&l_481,&l_481,&l_481,&l_481,&l_481,&l_481,&l_481,&l_481,&l_481};
                        int8_t *l_493[2];
                        int8_t l_514 = 0xA6L;
                        const int64_t **l_515 = (void*)0;
                        const int64_t **l_516[10] = {&l_471,&l_471,&l_471,&l_471,&l_471,&l_471,&l_471,&l_471,&l_471,&l_471};
                        int i;
                        for (i = 0; i < 2; i++)
                            l_493[i] = &l_351;
                        (*l_278) = ((safe_lshift_func_uint32_t_u_u((safe_add_func_uint64_t_u_u((safe_mul_func_uint8_t_u_u(((*l_319) = (safe_mod_func_uint16_t_u_u((g_49[(g_205 + 1)][(g_205 + 2)] & (p_67 || (safe_rshift_func_uint64_t_u_s((safe_add_func_uint64_t_u_u(g_161, ((((safe_rshift_func_int8_t_s_u(((((safe_add_func_int32_t_s_s(((+0x08B7D56EL) > ((safe_rshift_func_int8_t_s_u((safe_mod_func_uint8_t_u_u(((((safe_div_func_int8_t_s_s((g_461 < (safe_unary_minus_func_int8_t_s(p_67))), (((((((safe_mul_func_int32_t_s_s((safe_sub_func_int64_t_s_s(0x9DE1BDE2793448D4LL, (safe_div_func_uint8_t_u_u(((((((safe_rshift_func_int16_t_s_u(p_67, p_67)) >= g_404.f5) , (void*)0) == l_471) , 0L) , 1UL), 1L)))), l_432)) | l_472) < p_69) <= g_49[0][4]) , l_349) == l_473) | (*p_70)))) , &p_70) != (void*)0) ^ g_9), g_272.f2)), p_67)) , 0x5563B1E9L)), (*l_278))) , l_474[3]) | l_376) , 1L), 5)) <= g_358) || g_404.f0) >= p_69))), g_49[(g_215 + 1)][(g_215 + 2)])))), p_69))), g_272.f0)), 1L)), 22)) || 65534UL);
                        g_49[(g_205 + 1)][(g_205 + 2)] = (l_475[6] == (g_482 = ((*l_479) = l_476)));
                        g_404.f2 = (l_431 , (((g_495 = (safe_mul_func_int64_t_s_s((((p_69 ^ ((*l_312) = (-10L))) <= ((safe_mod_func_uint8_t_u_u((((g_488[4][3][0] = g_45[3][1][1]) , ((*l_278) = (((((safe_add_func_int16_t_s_s(0xC4E2L, ((*l_473) = 0x3EA7L))) < (0xAA7E2D4773189BFALL != (safe_lshift_func_uint8_t_u_u((g_314 , 0x70L), p_67)))) != g_337.f7) == p_69) , 7L))) , 8UL), p_69)) | (-10L))) || l_494[0]), l_431))) , p_67) | p_69));
                        (*l_278) |= (((*l_414) &= p_67) , (p_69 <= (safe_rshift_func_int32_t_s_s(((((p_69 & ((((safe_sub_func_int8_t_s_s(0x14L, ((**l_477) = (((g_517 = (((g_495 = ((l_514 = (((*l_313) = (safe_mod_func_int16_t_s_s((((safe_add_func_uint8_t_u_u((safe_sub_func_int16_t_s_s(((!(0UL | (+(safe_mul_func_int64_t_s_s(p_69, (((safe_mod_func_int32_t_s_s((l_474[3] & (g_269.f6 > l_382[2])), g_272.f0)) , (*p_70)) && (*p_70))))))) >= 0xAED0L), 65535UL)), 255UL)) >= p_69) <= l_512), g_49[(g_215 + 1)][(g_215 + 2)]))) && l_513)) <= l_431)) | 4294967295UL) , (void*)0)) == &l_512) , p_69)))) , 4UL) || (-10L)) <= g_3)) | g_360) < 0x0B1114D653010F4CLL) , (*p_70)), l_432))));
                    }
                }
                if ((*p_70))
                { /* block id: 177 */
                    const uint32_t * const **l_520[8] = {&g_518,&g_518,&g_518,&g_518,&g_518,&g_518,&g_518,&g_518};
                    int32_t l_535 = 0xDBF376EEL;
                    int32_t l_536 = (-10L);
                    int i;
                    g_524 = (g_518 = (l_521[2][4] = g_518));
                    for (g_388 = 0; (g_388 <= 3); g_388 += 1)
                    { /* block id: 183 */
                        int16_t l_528 = 0xB832L;
                        int32_t l_538 = 4L;
                        uint64_t *l_547 = &g_360;
                        l_538 |= (l_382[2] |= ((safe_mod_func_uint8_t_u_u((((safe_unary_minus_func_int32_t_s(((*l_302) = (((-5L) | (((*l_278) = l_528) <= 0x5ECFA799L)) && ((*p_70) , ((((((((safe_lshift_func_int64_t_s_s((((((void*)0 == l_531) <= ((((l_536 &= (safe_div_func_int8_t_s_s((p_69 , (&g_72 == &p_68)), l_535))) <= 0x46715F2FL) | l_537) ^ p_67)) >= (-5L)) , 0x654D06873BD7D425LL), 27)) , (void*)0) == (void*)0) , &p_69) == &l_387) > l_528) >= p_69) != p_67)))))) > l_535) , p_69), g_404.f2)) || (*p_70)));
                        if (g_350)
                            goto lbl_539;
                        (*l_302) = ((((((*l_312) = p_69) , l_540) == l_542[2]) > (l_544 < ((safe_sub_func_uint8_t_u_u(p_67, (((*l_547) = 1UL) && (safe_lshift_func_int16_t_s_u((((0x5A41B0CAC9FF1E84LL == (((safe_mul_func_uint8_t_u_u((((safe_lshift_func_uint64_t_u_s(g_269.f0, (((safe_add_func_uint64_t_u_u(g_272.f0, p_69)) != p_69) | 1UL))) ^ g_269.f6) && p_67), l_536)) && 5L) == g_337.f2)) , (void*)0) != g_556), 15))))) , 65535UL))) , (*p_70));
                    }
                }
                else
                { /* block id: 194 */
                    const uint32_t l_567 = 4294967291UL;
                    int32_t l_587 = 0x83D21832L;
                    int32_t *l_588 = &l_385;
                    for (l_373 = 1; (l_373 >= 0); l_373 -= 1)
                    { /* block id: 197 */
                        uint16_t l_559 = 0x2D93L;
                        (*l_278) = l_559;
                    }
                    (*l_408) = &l_387;
                    (*l_588) &= (p_69 > ((safe_mul_func_int8_t_s_s(((*l_312) |= l_562), (p_69 && ((((*l_301) ^= ((*l_414) = (safe_rshift_func_uint32_t_u_u(((safe_mul_func_uint8_t_u_u((l_567 != (**l_408)), ((safe_sub_func_int8_t_s_s((safe_add_func_int8_t_s_s((((**g_72) || (l_587 = (safe_mul_func_int8_t_s_s((safe_add_func_uint8_t_u_u((((safe_sub_func_int64_t_s_s((safe_mul_func_uint16_t_u_u(((***l_276) || (((safe_div_func_uint8_t_u_u(((safe_unary_minus_func_uint8_t_u(((safe_mod_func_uint16_t_u_u((p_67 = (((safe_sub_func_uint8_t_u_u(((p_69 || (((p_67 != g_8) , (void*)0) == (void*)0)) | 0xAA21C3CC4977D6ACLL), (*l_302))) >= p_67) | 0x29C23E226CC590DALL)), 0x75F6L)) | (**p_68)))) , 0xDFL), g_543.f5)) || g_337.f0) & g_269.f0)), g_279)), 18446744073709551615UL)) , 0UL) , p_67), g_9)), (***l_275))))) != 65527UL), (**l_408))), p_69)) && 0xFF63L))) != 0x1607L), 17)))) , (**p_68)) > 5L)))) < 0x713A9AE3L));
                    (**g_72) = l_589;
                }
                for (l_387 = 1; (l_387 >= 0); l_387 -= 1)
                { /* block id: 211 */
                    return p_67;
                }
                for (l_309 = 0; (l_309 <= 1); l_309 += 1)
                { /* block id: 216 */
                    int32_t l_604 = 1L;
                    int32_t l_621 = 0xDDEA100EL;
                    int32_t l_627 = 0xADD30A98L;
                    int32_t l_628 = (-10L);
                    int32_t l_630[1];
                    int i, j, k;
                    for (i = 0; i < 1; i++)
                        l_630[i] = 0L;
                    if ((((0x50A6C7E1L | (+(((safe_mul_func_int8_t_s_s((((void*)0 == &g_72) != (~l_494[2])), (g_24[(l_309 + 2)][(g_215 + 7)][l_309] &= 0xC6L))) > 253UL) != 255UL))) ^ (((*l_312) = ((safe_mod_func_int32_t_s_s((((p_69 == (safe_lshift_func_uint8_t_u_u((safe_mul_func_int16_t_s_s((safe_mul_func_int16_t_s_s((safe_sub_func_uint8_t_u_u((***l_276), p_67)), p_67)), 0UL)), 1))) | l_604) && g_102), (*p_70))) , g_488[4][3][0])) && 0xA4L)) && g_541[5].f0))
                    { /* block id: 219 */
                        int32_t *l_605 = (void*)0;
                        int32_t *l_606 = &g_49[(g_215 + 1)][(g_215 + 2)];
                        int32_t *l_607 = &l_604;
                        int32_t *l_608 = &g_49[0][4];
                        int32_t *l_609 = &g_49[(g_205 + 1)][(g_205 + 2)];
                        int32_t *l_610 = &g_49[(g_205 + 1)][(g_205 + 2)];
                        int32_t *l_611 = &l_562;
                        int32_t *l_612 = (void*)0;
                        int32_t *l_613 = (void*)0;
                        int32_t *l_614 = (void*)0;
                        int32_t *l_615 = &l_375;
                        int32_t *l_616[5];
                        int32_t l_626 = (-9L);
                        int i;
                        for (i = 0; i < 5; i++)
                            l_616[i] = &g_49[(g_215 + 4)][(g_215 + 4)];
                        --l_637;
                        return l_640;
                    }
                    else
                    { /* block id: 222 */
                        int32_t *l_641[6][8] = {{&l_382[4],&l_620,&l_620,&l_382[4],(void*)0,(void*)0,(void*)0,&l_382[5]},{&g_279,&l_382[4],&l_604,(void*)0,&l_604,&l_382[4],&g_279,(void*)0},{&l_604,&l_382[4],&g_279,(void*)0,&l_604,&l_604,(void*)0,&g_3},{(void*)0,(void*)0,&l_620,&l_375,&l_604,&g_279,(void*)0,&g_279},{&l_382[5],&g_3,&l_375,&g_3,&l_382[5],&l_382[4],(void*)0,&g_279},{&g_3,&l_604,(void*)0,&l_375,&l_375,(void*)0,&l_604,&g_3}};
                        int i, j;
                        ++l_646;
                        if (g_388)
                            goto lbl_539;
                        l_653--;
                        if (l_630[0])
                            continue;
                    }
                }
            }
            if (g_337.f0)
                goto lbl_539;
        }
        else
        { /* block id: 231 */
            uint32_t l_656 = 4294967295UL;
            int8_t l_670 = 0x09L;
            int32_t l_674 = 0xB0B237A4L;
            uint32_t **l_695[7][2][7] = {{{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532},{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532}},{{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532},{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532}},{{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532},{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532}},{{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532},{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532}},{{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532},{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532}},{{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532},{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532}},{{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532},{&l_532,&l_532,&l_532,&l_532,&l_532,&l_532,&l_532}}};
            int64_t *l_696 = &g_337.f5;
            int32_t l_699 = (-5L);
            int32_t l_703 = 0x24388B5DL;
            int32_t l_704 = 1L;
            const struct S0 *l_732 = &g_733;
            uint16_t l_763 = 2UL;
            uint32_t *l_775 = &g_495;
            uint32_t **l_774 = &l_775;
            int16_t *l_790 = &l_644;
            uint8_t ***l_801 = (void*)0;
            uint8_t ****l_800 = &l_801;
            uint32_t l_806 = 9UL;
            int16_t l_918 = 0x1690L;
            uint32_t * const *l_973 = &g_932;
            int i, j, k;
            ++l_656;
            for (g_250 = 0; (g_250 <= 5); g_250 += 1)
            { /* block id: 235 */
                uint32_t *l_669[3][7][4] = {{{&g_132,&g_495,&g_205,&l_347[1][4][2]},{&g_205,(void*)0,(void*)0,&g_132},{&l_347[1][4][2],(void*)0,&g_132,&g_205},{&l_347[1][4][2],&l_347[0][2][4],(void*)0,&l_347[1][7][3]},{&g_205,&g_205,&g_205,&g_205},{&g_132,(void*)0,&g_205,&g_205},{&g_132,&l_347[1][7][3],&l_347[1][7][3],&l_347[1][7][3]}},{{&g_205,&g_132,&g_495,&l_347[1][7][3]},{(void*)0,&l_347[1][7][3],&g_495,&g_205},{&l_347[0][2][4],(void*)0,&l_347[0][2][4],&g_205},{&g_495,&g_205,&l_347[1][4][2],&l_347[1][7][3]},{&l_347[1][7][3],&l_347[0][2][4],&g_205,&g_205},{&l_347[0][0][3],(void*)0,&g_205,&g_132},{&l_347[1][7][3],(void*)0,&l_347[1][4][2],&l_347[1][4][2]}},{{&g_495,&g_495,&l_347[0][2][4],&l_347[0][0][3]},{&l_347[0][2][4],&l_347[0][0][3],&g_495,(void*)0},{(void*)0,&l_347[0][0][3],&g_205,&g_132},{&g_495,&l_347[0][0][3],(void*)0,(void*)0},{&l_347[0][0][3],&g_205,&l_347[0][2][4],&g_205},{&l_347[1][7][3],&g_205,&g_495,&g_205},{&l_347[0][2][4],&g_132,&l_347[1][7][3],&l_347[1][7][3]}}};
                int8_t l_671 = 0xEFL;
                int32_t *l_672 = &l_624;
                int32_t l_697 = 0x845BEC43L;
                int32_t l_701 = 0x3F84961AL;
                uint8_t l_724 = 1UL;
                const struct S0 *l_729[1];
                const int32_t l_755[9][6][4] = {{{0xF13C5FC9L,0x780B97B2L,0x0FB35D4AL,0x780B97B2L},{0x780B97B2L,(-1L),0xB2A5A0F2L,0x780B97B2L},{0xB2A5A0F2L,0x780B97B2L,(-6L),(-6L)},{(-9L),(-9L),0x0FB35D4AL,0xF13C5FC9L},{(-9L),(-1L),(-6L),(-9L)},{0xB2A5A0F2L,0xF13C5FC9L,0xB2A5A0F2L,(-6L)}},{{0x780B97B2L,0xF13C5FC9L,0x0FB35D4AL,(-9L)},{0xF13C5FC9L,(-1L),(-1L),0xF13C5FC9L},{0xB2A5A0F2L,(-9L),(-1L),(-6L)},{0xF13C5FC9L,0x780B97B2L,0x0FB35D4AL,0x780B97B2L},{0x780B97B2L,(-1L),0xB2A5A0F2L,0x780B97B2L},{0xB2A5A0F2L,0x780B97B2L,(-6L),(-6L)}},{{(-9L),(-9L),0x0FB35D4AL,0xF13C5FC9L},{(-9L),(-1L),(-6L),(-9L)},{0xB2A5A0F2L,0xF13C5FC9L,0xB2A5A0F2L,(-6L)},{0x780B97B2L,0xF13C5FC9L,0x0FB35D4AL,(-9L)},{0xF13C5FC9L,(-1L),(-1L),0xF13C5FC9L},{0xB2A5A0F2L,(-9L),(-1L),(-6L)}},{{0xF13C5FC9L,0x780B97B2L,0x0FB35D4AL,0x780B97B2L},{0x780B97B2L,(-1L),0xB2A5A0F2L,0x780B97B2L},{0xB2A5A0F2L,0x780B97B2L,(-6L),(-6L)},{(-9L),(-9L),0x0FB35D4AL,0xF13C5FC9L},{(-9L),(-1L),(-6L),(-9L)},{0xB2A5A0F2L,0xF13C5FC9L,0xB2A5A0F2L,(-6L)}},{{0x780B97B2L,0xF13C5FC9L,0x0FB35D4AL,(-9L)},{0xF13C5FC9L,(-1L),(-1L),0xF13C5FC9L},{0xB2A5A0F2L,(-9L),(-1L),(-6L)},{0xF13C5FC9L,0x780B97B2L,0x0FB35D4AL,0x780B97B2L},{0x780B97B2L,(-1L),0xB2A5A0F2L,0x780B97B2L},{0xB2A5A0F2L,0x780B97B2L,(-6L),(-6L)}},{{(-9L),(-9L),0x0FB35D4AL,0xF13C5FC9L},{(-9L),(-1L),(-6L),(-9L)},{0xB2A5A0F2L,0xF13C5FC9L,0xB2A5A0F2L,(-6L)},{0x780B97B2L,0xF13C5FC9L,0x0FB35D4AL,(-9L)},{0xF13C5FC9L,(-1L),(-1L),0xF13C5FC9L},{0xB2A5A0F2L,(-9L),(-1L),(-6L)}},{{0xF13C5FC9L,0x780B97B2L,0x0FB35D4AL,0x780B97B2L},{0x780B97B2L,(-1L),0xB2A5A0F2L,0x780B97B2L},{0xB2A5A0F2L,0x780B97B2L,(-6L),(-6L)},{(-9L),(-9L),0x0FB35D4AL,0xF13C5FC9L},{(-9L),(-1L),(-6L),(-9L)},{0xB2A5A0F2L,0xF13C5FC9L,0xB2A5A0F2L,(-6L)}},{{0x780B97B2L,0xF13C5FC9L,0x0FB35D4AL,0xB2A5A0F2L},{(-1L),0x0FB35D4AL,0x0FB35D4AL,(-1L)},{1L,0xB2A5A0F2L,0x0FB35D4AL,0xF7647CDCL},{(-1L),(-6L),(-9L),(-6L)},{(-6L),0x0FB35D4AL,1L,(-6L)},{1L,(-6L),0xF7647CDCL,0xF7647CDCL}},{{0xB2A5A0F2L,0xB2A5A0F2L,(-9L),(-1L)},{0xB2A5A0F2L,0x0FB35D4AL,0xF7647CDCL,0xB2A5A0F2L},{1L,(-1L),1L,0xF7647CDCL},{(-6L),(-1L),(-9L),0xB2A5A0F2L},{(-1L),0x0FB35D4AL,0x0FB35D4AL,(-1L)},{1L,0xB2A5A0F2L,0x0FB35D4AL,0xF7647CDCL}}};
                int32_t l_760 = (-5L);
                int32_t l_761[5] = {0xE06037E6L,0xE06037E6L,0xE06037E6L,0xE06037E6L,0xE06037E6L};
                int i, j, k;
                for (i = 0; i < 1; i++)
                    l_729[i] = &g_730;
                if ((p_67 , ((l_672 = func_37(((safe_sub_func_uint32_t_u_u((((void*)0 == &p_68) , p_67), ((safe_add_func_int32_t_s_s((***l_276), ((((1UL < (l_656 < (safe_rshift_func_int8_t_s_s(((((safe_div_func_uint32_t_u_u((safe_rshift_func_uint8_t_u_s(p_69, 5)), (((g_132 , 0x5B7AL) <= p_69) | (*p_70)))) , g_543.f2) > p_69) && p_67), 6)))) , 0x485DL) , p_70) != l_669[1][5][0]))) != p_69))) < l_670), g_543.f6, (***l_276), l_671, (*p_70))) != (**l_276))))
                { /* block id: 237 */
                    int32_t l_673[8] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)};
                    int32_t *l_675 = &l_631;
                    int32_t *l_676 = &l_673[0];
                    int32_t *l_677 = &l_387;
                    int32_t *l_678 = &l_651;
                    int32_t *l_679 = &l_635;
                    int32_t *l_680 = &g_49[0][4];
                    int32_t *l_681 = &l_652[5];
                    int32_t *l_682 = &l_300;
                    int32_t *l_683[4] = {&g_49[2][5],&g_49[2][5],&g_49[2][5],&g_49[2][5]};
                    uint32_t **l_694 = (void*)0;
                    int8_t *l_698 = &l_671;
                    int i;
                    --l_684;
                    if ((6L >= ((*l_698) = ((((safe_lshift_func_int16_t_s_s((l_674 = (((*l_672) , 0xAA6DAB78L) | ((p_69 || (+(((safe_add_func_int8_t_s_s(((*l_312) |= (p_67 >= (safe_lshift_func_uint32_t_u_u((((((*l_679) , l_694) == l_695[6][1][6]) , ((l_696 == &g_461) ^ 7UL)) | p_69), 20)))), 0UL)) == (*l_676)) , l_697))) , p_69))), l_656)) , 0xBCL) != p_69) || g_269.f0))))
                    { /* block id: 242 */
                        int8_t l_700 = 0xC5L;
                        int32_t l_702 = 9L;
                        int32_t l_705 = 0xB7983FA2L;
                        uint64_t l_706 = 18446744073709551608UL;
                        (*l_678) = (*l_672);
                        --l_706;
                    }
                    else
                    { /* block id: 245 */
                        int32_t l_721 = 0xBA9FA921L;
                        int16_t *l_726[8] = {&g_350,&g_350,&g_350,&g_350,&g_350,&g_350,&g_350,&g_350};
                        int64_t l_728 = (-1L);
                        int i;
                        (*l_675) = (((safe_lshift_func_uint32_t_u_s((((*l_677) = (safe_mod_func_uint64_t_u_u((safe_add_func_uint64_t_u_u(((((((*l_680) |= ((((safe_mul_func_int64_t_s_s(g_541[5].f6, (**l_277))) < (safe_sub_func_int16_t_s_s(((*l_313) = l_674), ((safe_rshift_func_uint32_t_u_u(l_721, ((safe_sub_func_uint16_t_u_u(((l_721 > l_721) | ((((((&g_350 == &l_644) != l_704) && l_724) & l_704) && 1UL) || 0x274ABD1C52B8A8ADLL)), g_543.f6)) , 0x64E40EE1L))) || (*l_672))))) < 4294967293UL) < 0x7C5DAB9F544460D6LL)) != g_725[2]) != l_721) || 0x26D1FB59L) >= (*p_70)), 0xEBD7ADD6B87A6EFCLL)), 8L))) && l_727), l_728)) | p_69) >= p_69);
                    }
                    for (g_358 = 0; (g_358 <= 5); g_358 += 1)
                    { /* block id: 253 */
                        int i, j, k;
                        return g_24[g_215][(g_250 + 3)][g_215];
                    }
                }
                else
                { /* block id: 256 */
                    for (l_642 = 0; (l_642 <= 5); l_642 += 1)
                    { /* block id: 259 */
                        const struct S0 **l_731 = (void*)0;
                        l_732 = l_729[0];
                    }
                    return p_67;
                }
                if (g_404.f7)
                    break;
                for (g_314 = 5; (g_314 >= 1); g_314 -= 1)
                { /* block id: 267 */
                    int32_t l_762[6] = {5L,0xECCE37B4L,0xECCE37B4L,5L,0xECCE37B4L,0xECCE37B4L};
                    int i, j, k;
                    if (g_24[(g_215 + 1)][(g_215 + 2)][g_215])
                        break;
                    for (g_205 = 0; (g_205 <= 1); g_205 += 1)
                    { /* block id: 271 */
                        int8_t *l_752 = &l_671;
                        int16_t l_756[5];
                        int32_t l_757 = (-1L);
                        int32_t *l_758 = &l_634;
                        int32_t *l_759[7] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
                        int i, j, k;
                        for (i = 0; i < 5; i++)
                            l_756[i] = 8L;
                        (*l_302) |= g_24[(g_215 + 2)][g_205][g_215];
                        l_703 = (p_69 & ((g_495++) & 0L));
                        g_49[3][1] &= ((safe_rshift_func_uint8_t_u_u((safe_lshift_func_uint16_t_u_s(((((5UL & ((*l_278) &= ((safe_mod_func_int8_t_s_s(g_142, ((p_67 ^ (safe_div_func_int32_t_s_s(((((p_67 & (p_67 < (((*l_696) = ((*l_301) = (safe_div_func_uint64_t_u_u(((safe_rshift_func_int32_t_s_u((safe_sub_func_uint8_t_u_u((((((safe_mod_func_uint8_t_u_u(((l_752 = l_752) != &l_670), (safe_sub_func_int32_t_s_s((0x7CL || l_699), 0xF8212EA8L)))) , p_69) || 0x61724228L) > g_543.f2) > p_69), g_24[(g_215 + 1)][(g_215 + 2)][g_215])), 26)) | g_314), p_69)))) , p_67))) >= p_67) , g_350) == (*l_672)), 6UL))) , p_69))) >= l_703))) , 0L) , l_755[3][3][1]) , p_69), g_543.f6)), l_756[1])) & g_24[(g_215 + 1)][(g_215 + 2)][g_215]);
                        l_763--;
                    }
                }
            }
            if (((safe_lshift_func_uint32_t_u_u((safe_rshift_func_int8_t_s_u((safe_add_func_uint64_t_u_u(0UL, ((0xEDC4L & ((*l_313) ^= 1L)) , (safe_div_func_uint8_t_u_u((&l_656 == ((*l_774) = &g_205)), 0xC0L))))), 0)), 3)) && p_69))
            { /* block id: 286 */
                uint64_t *l_783 = &g_360;
                uint64_t *l_784 = &l_684;
                uint16_t *l_785 = &g_272.f0;
                uint32_t **l_786 = (void*)0;
                uint32_t ***l_787 = &l_786;
                int32_t l_793 = 0x4BAA2262L;
                uint8_t *****l_802 = &l_800;
                int32_t l_804 = 9L;
                int32_t l_805[10][8] = {{0x1F36F224L,0xBA520D7FL,(-1L),0xB993F6BFL,0x5F3A37D0L,0xDABF1877L,0x6DD5594FL,0x1F36F224L},{0x77FBF034L,0x9B09C430L,0x804C43CFL,0xB993F6BFL,7L,0xD89CED87L,0L,(-1L)},{0x1F79FC48L,7L,0x9B09C430L,0x1FB70CE5L,1L,(-3L),1L,0x9B09C430L},{0x84C5B11CL,0L,1L,0x1F36F224L,(-1L),0x1F36F224L,1L,0L},{0L,0x109FBAB4L,0x1FB70CE5L,0xAC7B1A05L,1L,(-6L),0x109FBAB4L,0xBC7A6BDDL},{0xF0BC5FB6L,0xBA520D7FL,0x84C5B11CL,0x5F3A37D0L,0L,0xA75A839EL,0x109FBAB4L,0xF0BC5FB6L},{0x77FBF034L,0x5F3A37D0L,0x1FB70CE5L,(-6L),0xD89CED87L,0x77FBF034L,1L,(-1L)},{0xD89CED87L,0x77FBF034L,1L,(-1L),0x5F3A37D0L,1L,1L,0x5F3A37D0L},{0xA75A839EL,0x9B09C430L,0x9B09C430L,0xA75A839EL,5L,0x1F36F224L,0L,0xB993F6BFL},{0x9B09C430L,5L,0x804C43CFL,0x1FB70CE5L,1L,1L,0x6DD5594FL,0x804C43CFL}};
                uint32_t **l_877 = (void*)0;
                uint32_t l_879 = 0xBC788C63L;
                int i, j;
                g_733.f6 |= (l_703 == (safe_add_func_uint16_t_u_u(((*l_785) = (safe_mul_func_int64_t_s_s(p_69, ((*l_784) = ((*l_783) |= ((0x9494454E15F3C450LL | (!((void*)0 != &g_57[2][0]))) , 0x257CE6CD0D21892DLL)))))), (&g_557 == ((*l_787) = l_786)))));
                if ((safe_rshift_func_int64_t_s_s(((&l_644 == l_790) <= (p_67 , ((*l_784) = (safe_lshift_func_int64_t_s_s(((((0x8878B199L ^ l_793) != (safe_div_func_uint16_t_u_u(p_69, g_9))) && (safe_mod_func_uint64_t_u_u((safe_add_func_uint8_t_u_u((&g_482 != ((*l_802) = l_800)), p_69)), p_67))) == 0L), 19))))), p_67)))
                { /* block id: 294 */
                    int32_t *l_803[8][3] = {{&l_629,(void*)0,&l_629},{&l_625,&l_625,&l_625},{&l_629,(void*)0,&l_629},{&l_625,&l_625,&l_625},{&l_629,(void*)0,&l_629},{&l_625,&l_625,&l_625},{&l_629,(void*)0,&l_629},{&l_625,&l_625,&l_625}};
                    int i, j;
                    l_806++;
                    for (g_269.f5 = 1; (g_269.f5 >= 0); g_269.f5 -= 1)
                    { /* block id: 298 */
                        int32_t *l_810 = (void*)0;
                        if (l_805[9][0])
                            break;
                        l_810 = ((**l_275) = l_809[0]);
                        (*l_278) ^= (safe_div_func_uint16_t_u_u((safe_add_func_int16_t_s_s(((g_725[2] == (l_793 |= (((**l_774) |= (safe_mul_func_int16_t_s_s(g_543.f5, (safe_sub_func_uint64_t_u_u((0x11L <= (0L >= p_67)), (((((((~((((((safe_add_func_int32_t_s_s(((safe_add_func_int16_t_s_s(((*l_313) ^= (safe_div_func_int8_t_s_s(p_67, ((safe_mul_func_uint8_t_u_u(((safe_mul_func_uint16_t_u_u(((void*)0 == (*g_482)), l_805[6][4])) >= p_67), 6L)) ^ (**p_68))))), l_805[9][7])) || p_67), (*g_73))) || p_69) == 0xEC22L) , g_269.f6) || g_523) > (-9L))) > 0L) , 0x18ECFF6D9CC803AELL) == p_69) ^ 0x38EA09BFL) , (*l_810)) , 0x69B51CA288772891LL)))))) , p_69))) != 0x9FL), (***l_275))), (-5L)));
                    }
                }
                else
                { /* block id: 307 */
                    uint32_t l_832 = 0x7F051989L;
                    uint8_t **l_872 = &l_319;
                    int32_t l_875 = 1L;
                    int32_t l_876 = (-10L);
                    for (l_309 = 1; (l_309 >= 0); l_309 -= 1)
                    { /* block id: 310 */
                        uint64_t l_839[10] = {0UL,18446744073709551610UL,18446744073709551610UL,0UL,1UL,1UL,18446744073709551610UL,1UL,1UL,18446744073709551610UL};
                        int32_t l_851[1][7][3] = {{{(-7L),0L,(-7L)},{(-7L),2L,0L},{2L,(-7L),(-7L)},{0L,(-7L),0x0869C97CL},{0xC6EE3ED7L,2L,0xF58D5418L},{0L,0L,0xF58D5418L},{2L,0xC6EE3ED7L,0x0869C97CL}}};
                        uint64_t l_873 = 0xC01610E5D13D9686LL;
                        int8_t *l_874[7] = {&l_670,&l_670,&l_670,&l_670,&l_670,&l_670,&l_670};
                        int i, j, k;
                        ++l_832;
                        (*l_302) = (safe_div_func_int8_t_s_s((safe_mul_func_uint32_t_u_u(((**l_774) |= (((l_839[7]--) != ((!((l_804 , (safe_mod_func_uint32_t_u_u((((p_69 , &l_477) == ((((safe_div_func_uint32_t_u_u((p_67 | (safe_mul_func_uint32_t_u_u(((safe_mul_func_int32_t_s_s(l_851[0][5][1], (safe_div_func_int16_t_s_s((0L == 0x56E3826FDA5A887BLL), (safe_div_func_int32_t_s_s((((p_67 < ((safe_lshift_func_int32_t_s_u(0xA54F8386L, 8)) == p_67)) != 9L) , 1L), 4294967292UL)))))) | (*p_70)), l_805[8][7]))), 1UL)) > (**l_277)) && 0xA098FCD635E84BADLL) , (void*)0)) != 0UL), p_69))) , 0xF5061469L)) , g_543.f5)) | g_404.f5)), l_851[0][5][2])), l_832));
                        (*l_278) = (0x379925302468066FLL != ((((*l_302) = (*p_70)) , (l_876 = (safe_mul_func_int8_t_s_s((g_488[2][2][0] = ((((safe_rshift_func_int32_t_s_u((+((l_875 = (((((*l_312) ^= (((*p_70) ^ (*p_70)) & (safe_sub_func_uint8_t_u_u(l_832, (l_805[1][5] = (((((!(safe_add_func_int32_t_s_s(((void*)0 != (**l_802)), ((safe_add_func_uint16_t_u_u((safe_add_func_uint16_t_u_u(65528UL, (((void*)0 == l_872) & g_272.f0))), l_839[7])) == g_733.f2)))) == g_9) > 0UL) | g_730.f7) & p_69)))))) != 1L) & l_873) > l_832)) < 4L)), 22)) <= g_461) != 0x75ABL) && g_350)), 0x66L)))) <= 5UL));
                        l_805[4][1] |= l_804;
                    }
                    for (l_562 = 1; (l_562 >= 0); l_562 -= 1)
                    { /* block id: 326 */
                        (*l_278) ^= (&g_519 == l_877);
                        ++l_879;
                    }
                    for (l_633 = 3; (l_633 >= 0); l_633 -= 1)
                    { /* block id: 332 */
                        (*l_278) |= (18446744073709551610UL == g_730.f2);
                    }
                }
            }
            else
            { /* block id: 336 */
                int16_t l_882[5];
                int16_t l_908 = 2L;
                uint64_t *l_971 = &l_684;
                uint64_t *l_972 = &l_727;
                int i;
                for (i = 0; i < 5; i++)
                    l_882[i] = 1L;
                for (l_633 = 3; (l_633 >= 0); l_633 -= 1)
                { /* block id: 339 */
                    int16_t **l_883 = &l_790;
                    int32_t l_894 = 0xDED6B1C4L;
                    struct S0 *l_896 = &g_897[3][6];
                    struct S0 **l_898 = &l_542[1];
                    uint32_t **l_905 = &l_532;
                    uint32_t l_917[2];
                    uint32_t l_921 = 1UL;
                    int i;
                    for (i = 0; i < 2; i++)
                        l_917[i] = 4294967295UL;
                    (*l_302) &= (((void*)0 == (*l_476)) == ((l_882[3] , (((((&g_314 == ((*l_883) = l_790)) != ((*l_319) = (safe_lshift_func_int16_t_s_u((safe_mul_func_uint16_t_u_u(((p_69 ^ ((((safe_mul_func_int8_t_s_s((safe_sub_func_uint16_t_u_u((0x71F0F9090DF7295BLL & ((p_67 , l_670) == p_67)), g_541[5].f5)), p_67)) == g_892) > 1L) != 0L)) != l_699), l_893)), l_894)))) , l_882[3]) | l_895) , p_69)) <= g_543.f2));
                    if ((((((((*l_898) = l_896) == g_271) || ((safe_mod_func_uint64_t_u_u(((safe_div_func_uint16_t_u_u(65527UL, ((*l_790) &= p_67))) < ((((g_269.f2 = (safe_rshift_func_uint32_t_u_s((&g_557 == (l_905 = (l_531 = l_905))), 9))) , &g_314) == &g_350) , (((g_488[0][2][1] |= (safe_div_func_uint8_t_u_u(p_69, p_67))) & 2L) >= l_806))), p_67)) != l_908)) , p_67) , p_67) & (*p_70)))
                    { /* block id: 349 */
                        (*l_278) = (safe_sub_func_int16_t_s_s((&l_763 != ((safe_div_func_uint32_t_u_u(((((7UL >= ((((safe_mul_func_int64_t_s_s(p_67, ((0xB173BC97275A89DELL ^ ((*l_302) , ((((safe_lshift_func_uint32_t_u_s((l_918 = l_917[0]), (*p_70))) <= (g_897[3][6].f6 | g_733.f0)) == p_67) , l_917[0]))) | p_69))) == 0x07E5L) & l_704) || l_882[4])) , l_894) ^ 0x2BL) > 0xD4F7FD5BL), l_704)) , &p_67)), g_543.f5));
                        return p_67;
                    }
                    else
                    { /* block id: 353 */
                        int16_t l_919 = 0xF301L;
                        uint16_t *l_924 = &g_272.f0;
                        uint32_t ****l_933[10][1][5] = {{{&g_930,&g_930,(void*)0,&g_930,&g_930}},{{&g_930,&g_930,&g_930,&g_930,&g_930}},{{&g_930,&g_930,&g_930,&g_930,&g_930}},{{(void*)0,&g_930,&g_930,&g_930,&g_930}},{{&g_930,&g_930,&g_930,&g_930,&g_930}},{{&g_930,&g_930,&g_930,(void*)0,&g_930}},{{&g_930,&g_930,&g_930,(void*)0,(void*)0}},{{(void*)0,&g_930,(void*)0,&g_930,&g_930}},{{&g_930,&g_930,&g_930,&g_930,&g_930}},{{&g_930,&g_930,&g_930,&g_930,(void*)0}}};
                        int i, j, k;
                        if (l_919)
                            break;
                        ++l_921;
                        if ((*p_70))
                            break;
                        (*l_302) = ((((*l_924) = p_67) ^ ((safe_rshift_func_int64_t_s_u(((*l_301) = (((*l_696) = (+(~((l_929 == (g_930 = g_930)) > 4294967295UL)))) , ((safe_mod_func_int8_t_s_s(((*l_312) = (g_337.f7 < p_69)), (safe_lshift_func_int64_t_s_u(6L, (((*l_696) ^= (((&g_317 != &g_483[8]) != p_69) != l_917[1])) >= g_404.f0))))) | l_917[1]))), l_882[3])) <= p_69)) == 0xE3L);
                    }
                    for (l_619 = 1; (l_619 >= 0); l_619 -= 1)
                    { /* block id: 367 */
                        uint64_t *l_943 = &l_727;
                        int32_t l_957 = 0xED7B2D4AL;
                        (*l_278) |= (~(safe_rshift_func_int8_t_s_s((((-4L) & (safe_mod_func_int16_t_s_s((((*l_943) ^= 0x435E69C64EDF85A1LL) >= ((p_67 & (safe_lshift_func_int8_t_s_u(((void*)0 != g_271), ((((safe_div_func_uint32_t_u_u((safe_sub_func_uint16_t_u_u((safe_div_func_uint8_t_u_u((((**l_774) = 4294967295UL) >= (safe_sub_func_int8_t_s_s(g_272.f6, g_404.f5))), (safe_add_func_int32_t_s_s(((safe_unary_minus_func_int64_t_s(((void*)0 != (*l_276)))) || p_67), l_882[2])))), 0x40D0L)), 0x42F5A704L)) && 0x1BDD5875L) > 1L) > 1L)))) != l_957)), l_957))) ^ g_272.f6), l_958)));
                    }
                    for (l_921 = 0; (l_921 <= 3); l_921 += 1)
                    { /* block id: 374 */
                        if (l_300)
                            goto lbl_539;
                    }
                }
                for (g_269.f0 = 0; (g_269.f0 <= 3); g_269.f0 += 1)
                { /* block id: 380 */
                    return p_69;
                }
                g_543.f7 |= ((p_67 || (9L != ((g_897[3][6].f6 >= ((*g_930) != ((((((*l_302) = (safe_add_func_int32_t_s_s((-1L), (0x682C3D141D7EEF5ELL | g_126[1][3][0])))) , (((safe_add_func_uint16_t_u_u((safe_lshift_func_uint32_t_u_s(((*l_775) = (safe_mod_func_int64_t_s_s(l_699, ((*l_972) = ((*l_971) &= ((safe_rshift_func_uint32_t_u_u((0x3AC7L | g_45[5][1][1]), 4)) > 0x69DFL)))))), l_882[1])), p_69)) | l_806) <= p_67)) ^ (-4L)) || p_67) , l_973))) > p_69))) >= g_279);
                (*p_68) = func_37((safe_rshift_func_int64_t_s_s(p_69, (((safe_rshift_func_uint16_t_u_s((l_978 > p_67), 7)) < g_126[0][9][0]) & (((7L ^ ((*l_302) |= (((*l_276) != (void*)0) & (safe_unary_minus_func_uint32_t_u((safe_mul_func_uint16_t_u_u(l_882[3], p_69))))))) || g_358) ^ (**l_277))))), p_69, l_704, g_45[0][3][1], (*p_70));
            }
            return p_67;
        }
        if ((***l_276))
            break;
        for (l_620 = 1; (l_620 >= 0); l_620 -= 1)
        { /* block id: 396 */
            uint8_t l_983[5];
            int32_t l_986 = 1L;
            int32_t l_989 = 0xA80E2524L;
            int32_t l_990[9] = {0L,6L,0L,0L,6L,0L,0L,6L,0L};
            int32_t l_991 = 0x4DC67B6DL;
            int32_t l_993 = 0x08607DBAL;
            int8_t l_997 = 0xAEL;
            uint32_t l_1035 = 0UL;
            uint32_t l_1058 = 0x0B88192BL;
            uint32_t *l_1062[1];
            int i;
            for (i = 0; i < 5; i++)
                l_983[i] = 255UL;
            for (i = 0; i < 1; i++)
                l_1062[i] = &l_653;
            if (l_982)
                break;
            ++l_983[3];
            ++g_994;
            for (g_892 = 0; (g_892 <= 1); g_892 += 1)
            { /* block id: 402 */
                int16_t l_998 = (-8L);
                int32_t l_999 = 0x174FC4A8L;
                int32_t l_1000[2][9] = {{0x3A08D314L,0x3A08D314L,0x3A08D314L,0x3A08D314L,0x3A08D314L,0x3A08D314L,0x3A08D314L,0x3A08D314L,0x3A08D314L},{(-1L),1L,(-1L),1L,(-1L),1L,(-1L),1L,(-1L)}};
                int16_t l_1002[2][7][3] = {{{0L,2L,(-7L)},{0L,0L,0x5FA1L},{0L,0x56C6L,0L},{0L,0xAE39L,0xE130L},{0L,0x0CDDL,(-1L)},{0L,(-10L),0L},{0L,2L,(-7L)}},{{0L,0L,0x5FA1L},{0L,0x56C6L,0L},{0L,0xAE39L,0xE130L},{0L,0x0CDDL,(-1L)},{0L,(-10L),0L},{0L,2L,(-7L)},{0L,0L,0x5FA1L}}};
                uint64_t l_1015 = 0UL;
                int i, j, k;
                g_1005++;
                for (l_618 = 1; (l_618 >= 0); l_618 -= 1)
                { /* block id: 406 */
                    int8_t l_1019 = 0L;
                    for (g_102 = 0; (g_102 <= 3); g_102 += 1)
                    { /* block id: 409 */
                        int32_t l_1013 = (-4L);
                        int32_t l_1014[3][2];
                        uint32_t l_1018 = 0x2E146D10L;
                        int i, j, k;
                        for (i = 0; i < 3; i++)
                        {
                            for (j = 0; j < 2; j++)
                                l_1014[i][j] = 1L;
                        }
                        (*l_278) = (safe_mul_func_uint64_t_u_u((safe_mod_func_int8_t_s_s(l_1002[g_215][(g_892 + 3)][(g_215 + 1)], (l_1002[g_215][(g_892 + 3)][(g_215 + 1)] || ((*p_70) || l_983[3])))), p_67));
                        ++l_1015;
                        if (l_1018)
                            break;
                    }
                    for (l_562 = 1; (l_562 >= 0); l_562 -= 1)
                    { /* block id: 416 */
                        int i, j, k;
                        l_1019 = l_1002[g_215][(l_562 + 3)][l_620];
                        if (l_987[l_618][l_562])
                            continue;
                        (*l_302) &= g_269.f6;
                        if ((*p_70))
                            break;
                    }
                }
            }
            for (l_589 = 0; (l_589 <= 3); l_589 += 1)
            { /* block id: 426 */
                uint32_t l_1034 = 0xA46C95E4L;
                int32_t **l_1036 = &l_809[0];
                const uint32_t ****l_1038[3];
                int32_t l_1066 = (-1L);
                uint32_t l_1099 = 0xD8744E07L;
                int32_t l_1122 = (-1L);
                int16_t **l_1134 = &l_313;
                int32_t l_1143 = 0x6A3F4055L;
                int32_t l_1144 = 0x7DCF2389L;
                int i, j, k;
                for (i = 0; i < 3; i++)
                    l_1038[i] = (void*)0;
                (*l_1036) = ((*p_68) = func_37((safe_div_func_uint32_t_u_u((&l_532 != ((g_543.f6 ^ 0x7FF1L) , ((safe_lshift_func_uint64_t_u_s((18446744073709551615UL != 0x965FA2974E94775ELL), ((safe_div_func_int8_t_s_s((l_929 == (void*)0), (g_24[l_589][(l_620 + 6)][l_620] = (safe_rshift_func_uint64_t_u_u((((safe_lshift_func_uint32_t_u_s((***l_276), (safe_lshift_func_uint32_t_u_s(((safe_rshift_func_int16_t_s_s(l_1034, g_404.f2)) , p_67), (*p_70))))) >= 0x7672L) & p_67), l_1034))))) >= (-1L)))) , (*g_930)))), l_1035)), g_358, l_1034, p_67, (*p_70)));
                for (l_727 = 0; (l_727 <= 3); l_727 += 1)
                { /* block id: 432 */
                    int i, j, k;
                    (*l_302) &= g_488[(l_589 + 1)][l_727][g_215];
                    return p_67;
                }
                if ((((l_1037 = l_1037) != l_929) <= (safe_unary_minus_func_int16_t_s(p_69))))
                { /* block id: 437 */
                    for (g_388 = 0; (g_388 <= 1); g_388 += 1)
                    { /* block id: 440 */
                        int i, j, k;
                        (*l_278) ^= (((0L < ((l_1053[5][2][0] = ((safe_lshift_func_int32_t_s_u((**g_72), ((!0xF9ADL) && (safe_add_func_int64_t_s_s(((*l_301) = ((g_272.f6 & (safe_div_func_uint8_t_u_u((safe_add_func_int32_t_s_s(((safe_unary_minus_func_int64_t_s(0x6CA311B7C254552BLL)) == (0xCFA9L && ((((safe_mod_func_uint8_t_u_u((g_24[l_620][(l_620 + 3)][g_388] |= ((g_350 < g_126[0][1][0]) , (**l_1036))), p_67)) ^ (-1L)) , l_1052[0]) <= g_523))), (**l_1036))), p_67))) , 0x5AD44DD1130121FCLL)), 0xC8BA0B571458A61ALL))))) , (*p_70))) != p_67)) >= (**l_1036)) > 1UL);
                        if ((*p_70))
                            continue;
                        if ((**p_68))
                            break;
                    }
                    return p_67;
                }
                else
                { /* block id: 449 */
                    uint16_t l_1067 = 1UL;
                    int32_t l_1100 = 0x6EFD5E8DL;
                    int32_t l_1101 = 0L;
                    uint64_t *l_1110 = &g_360;
                    uint16_t *l_1121 = &g_272.f0;
                    for (g_161 = 0; (g_161 <= 3); g_161 += 1)
                    { /* block id: 452 */
                        uint16_t *l_1059 = &g_269.f0;
                        uint64_t *l_1095 = &g_360;
                        int32_t l_1096[7][4] = {{0x7728F966L,0x0E2F5184L,0x7728F966L,0x7728F966L},{0x0E2F5184L,0x0E2F5184L,(-1L),0x0E2F5184L},{0x0E2F5184L,0x7728F966L,0x7728F966L,0x0E2F5184L},{0x7728F966L,0x0E2F5184L,0x7728F966L,0x7728F966L},{0x0E2F5184L,0x0E2F5184L,(-1L),0x0E2F5184L},{0x0E2F5184L,0x7728F966L,0x7728F966L,0x0E2F5184L},{0x7728F966L,0x0E2F5184L,0x7728F966L,0x7728F966L}};
                        int32_t l_1097 = 0x754A1F11L;
                        int i, j;
                        (*l_278) = (255UL & l_993);
                        l_990[0] = ((safe_mod_func_int16_t_s_s((safe_rshift_func_uint8_t_u_s(p_67, l_1058)), 0xD6C0L)) >= (((*l_1059) = g_126[0][1][0]) & ((void*)0 == &g_271)));
                    }
                    for (g_358 = 0; (g_358 <= 0); g_358 += 1)
                    { /* block id: 468 */
                        uint8_t l_1102 = 7UL;
                        int i, j, k;
                        (*l_302) = (l_1099 = l_347[g_215][(l_589 + 4)][(g_215 + 3)]);
                        l_1102++;
                    }
                    (*g_72) = func_37((safe_sub_func_int64_t_s_s((safe_sub_func_uint8_t_u_u(249UL, ((~((*l_1110)++)) > ((*l_1121) |= ((((0x82F1C3C0250521E3LL > (g_733.f5 , p_67)) == (safe_lshift_func_uint16_t_u_u(((safe_lshift_func_uint16_t_u_u((((((safe_div_func_int64_t_s_s((9L >= ((safe_add_func_uint64_t_u_u(((0x2CE0C967L && ((0x9EBEL | g_49[0][4]) && ((void*)0 == l_1036))) ^ g_337.f5), l_989)) && 0xC61E44D5L)), 1L)) ^ (*l_302)) | l_1067) <= g_733.f7) <= p_69), g_337.f5)) ^ 18446744073709551609UL), 3))) ^ p_67) | p_67))))), 18446744073709551614UL)), l_1122, l_1067, g_49[0][4], (*l_302));
                    for (l_387 = 0; (l_387 <= 3); l_387 += 1)
                    { /* block id: 478 */
                        int64_t **l_1129 = &l_301;
                        int32_t l_1132 = 0x26366B70L;
                        l_986 = ((0xEEDC5D0CFFF9C3D8LL > (safe_lshift_func_uint32_t_u_s(p_69, (safe_sub_func_uint8_t_u_u(((*l_278) , (p_69 != (safe_rshift_func_int64_t_s_u(0x61B5F57222DA2F7CLL, (((*l_1129) = l_1110) == l_1110))))), ((**l_477) = (0x30F28C54L != (((((safe_mul_func_uint32_t_u_u((**l_277), (**l_1036))) | g_360) ^ p_67) | 0x7E32E8CBL) , 4294967293UL)))))))) , l_1132);
                        return p_69;
                    }
                }
                l_1144 = ((+(p_69 ^ ((g_733.f0 |= (((**l_477) = ((void*)0 == l_1134)) >= ((*g_72) != (((safe_div_func_int16_t_s_s(((**l_1134) = (safe_div_func_int32_t_s_s(((*l_302) &= ((safe_mul_func_uint32_t_u_u((((((safe_sub_func_int16_t_s_s(g_404.f0, ((p_67 || (8UL >= 0xB7443833F4D35F83LL)) | 0L))) >= g_994) != 1L) || l_1058) & (**p_68)), p_69)) ^ (-6L))), 0x532E9280L))), g_388)) >= l_1143) , (*p_68))))) != g_269.f2))) < (***l_275));
            }
        }
    }
    return p_69;
}


/* ------------------------------------------ */
/* 
 * reads : g_45 g_73 g_57 g_107 g_102 g_72 g_142 g_49 g_161 g_3 g_126 g_9 g_205 g_24 g_250 g_8
 * writes: g_142 g_161 g_126 g_107 g_205 g_49 g_132 g_73 g_102 g_250 g_271
 */
static int32_t  func_74(int32_t  p_75, int32_t ** p_76, int8_t  p_77, int32_t * p_78)
{ /* block id: 41 */
    int32_t l_122 = 0x87EC08A3L;
    uint16_t *l_125[8] = {&g_126[0][1][0],&g_126[0][1][0],&g_126[0][1][0],&g_126[0][1][0],&g_126[0][1][0],&g_126[0][1][0],&g_126[0][1][0],&g_126[0][1][0]};
    uint32_t *l_131[9] = {(void*)0,(void*)0,&g_132,&g_132,(void*)0,&g_132,&g_132,(void*)0,&g_132};
    int32_t l_133 = (-8L);
    int16_t l_134[6][3] = {{0x353FL,0x5C91L,0x353FL},{0x353FL,0x5C91L,0x353FL},{0x353FL,0x5C91L,0x353FL},{0x353FL,0x5C91L,0x353FL},{0x353FL,0x5C91L,0x353FL},{0x353FL,0x5C91L,0x353FL}};
    int32_t l_135[1][7][2] = {{{(-1L),0L},{0x3E212FD2L,0x3E212FD2L},{0x3E212FD2L,0L},{(-1L),0xF8156313L},{0L,0xF8156313L},{(-1L),0L},{0x3E212FD2L,0x3E212FD2L}}};
    const int32_t l_136 = (-1L);
    uint32_t *l_151 = &g_132;
    int64_t *l_157 = (void*)0;
    const uint8_t *l_168 = (void*)0;
    uint8_t l_177 = 0x89L;
    uint32_t l_178 = 0x95C9EB64L;
    uint32_t **l_180 = (void*)0;
    int32_t *l_204 = &l_135[0][0][1];
    int32_t *l_206 = &g_49[0][4];
    struct S0 *l_268 = &g_269;
    struct S0 **l_270 = (void*)0;
    int i, j, k;
    if ((safe_rshift_func_int64_t_s_s((safe_sub_func_uint32_t_u_u(((safe_sub_func_uint32_t_u_u((((((safe_div_func_uint16_t_u_u((g_45[5][4][1] ^ (safe_lshift_func_uint16_t_u_u((((l_122 | 0xB7L) <= ((**p_76) <= (l_135[0][1][1] = ((l_133 ^= (((safe_lshift_func_int32_t_s_u(((((void*)0 != l_125[5]) & (((safe_add_func_int32_t_s_s(6L, (*g_73))) == ((((safe_add_func_uint64_t_u_u(1UL, 1L)) < g_107) && (-1L)) , p_77)) ^ p_75)) ^ l_122), 19)) , (void*)0) == (void*)0)) > l_134[5][0])))) >= 1UL), 12))), 0xAD79L)) , l_136) > p_75) , l_134[5][0]) < 0xA1152ABAL), l_122)) == g_102), (**g_72))), 63)))
    { /* block id: 44 */
        int32_t *l_137 = (void*)0;
        int32_t l_138[1][5][10] = {{{(-4L),0x326A3C1AL,0x26D1B1C2L,1L,(-7L),0x84DF502FL,(-1L),0xBC55C716L,1L,0xED9FA117L},{0x99CEFAC0L,7L,0L,1L,1L,0L,0L,1L,1L,0L},{0xBC55C716L,0xBC55C716L,0x84CD6FD9L,(-4L),7L,0x918E1F83L,(-7L),1L,3L,0x6C4C03F3L},{0x326A3C1AL,1L,(-1L),0x99CEFAC0L,0L,3L,(-7L),(-4L),(-7L),3L},{0x6C4C03F3L,0xBC55C716L,0x99CEFAC0L,0xBC55C716L,0x6C4C03F3L,(-1L),0L,0x5DF2204AL,7L,0x84CD6FD9L}}};
        int32_t *l_139 = &l_135[0][5][1];
        int32_t *l_140[3][10][4] = {{{&g_8,&l_138[0][2][3],&g_57[0][1],&g_49[0][4]},{&l_122,(void*)0,&g_8,(void*)0},{&g_9,&g_8,(void*)0,&l_138[0][1][9]},{&g_49[4][5],&g_49[0][4],&l_122,&l_138[0][0][5]},{&l_138[0][2][3],&g_49[0][4],&l_138[0][0][5],&g_49[4][5]},{&l_138[0][2][3],&l_122,&l_122,&l_122},{&g_49[4][5],&g_49[4][5],(void*)0,(void*)0},{&g_9,(void*)0,&g_8,&g_8},{&l_122,&l_135[0][2][0],&g_57[0][1],&g_8},{&g_8,&l_135[0][2][0],&g_49[4][5],&g_8}},{{&l_135[0][2][0],(void*)0,&l_135[0][2][0],(void*)0},{&l_122,&g_49[4][5],&g_49[0][4],&l_122},{&l_138[0][1][9],&l_122,(void*)0,&g_49[4][5]},{&g_8,&g_49[0][4],(void*)0,&l_138[0][0][5]},{&l_138[0][1][9],&g_49[0][4],&g_49[0][4],&l_138[0][1][9]},{&l_122,&g_8,&l_135[0][2][0],(void*)0},{&l_135[0][2][0],(void*)0,&g_49[4][5],&g_49[0][4]},{&g_8,&l_138[0][2][3],&g_57[0][1],&g_49[0][4]},{&l_122,(void*)0,&g_8,(void*)0},{&g_9,&g_8,(void*)0,&l_138[0][1][9]}},{{&g_49[4][5],&g_49[0][4],&l_122,&l_138[0][0][5]},{&l_138[0][2][3],&g_49[0][4],&l_138[0][0][5],&g_49[4][5]},{&l_138[0][2][3],&l_122,&l_122,&l_122},{&g_49[4][5],&g_49[4][5],(void*)0,(void*)0},{&g_9,(void*)0,&g_8,&g_8},{&l_122,&l_135[0][1][1],&l_138[0][0][5],&g_8},{&g_8,&l_135[0][1][1],&g_8,&l_138[0][1][9]},{&l_135[0][1][1],&g_49[0][4],&l_135[0][1][1],&l_122},{&g_49[0][4],&g_8,&g_57[0][1],&l_135[0][2][0]},{&g_9,&g_49[0][4],&l_122,&g_8}}};
        int16_t l_141 = (-1L);
        uint32_t **l_149 = (void*)0;
        uint32_t **l_150[5] = {&l_131[3],&l_131[3],&l_131[3],&l_131[3],&l_131[3]};
        int8_t * const l_156 = &g_107;
        uint8_t *l_160[1][7][1] = {{{(void*)0},{&g_24[2][8][1]},{(void*)0},{&g_24[2][8][1]},{(void*)0},{&g_24[2][8][1]},{(void*)0}}};
        int i, j, k;
        g_142++;
        g_161 ^= (((((safe_rshift_func_int8_t_s_s((safe_sub_func_uint8_t_u_u((l_133 ^= (((l_131[2] = p_78) != l_151) >= (safe_sub_func_uint64_t_u_u(((((l_156 != (void*)0) , (-8L)) || ((p_75 , l_157) == &g_102)) | ((l_122 = (safe_div_func_int16_t_s_s(g_49[0][4], 0xDDC2L))) >= (*g_73))), 0x38C8013064C4D074LL)))), p_77)), 0)) , l_160[0][5][0]) != (void*)0) , &g_126[1][0][0]) == &g_126[0][1][0]);
    }
    else
    { /* block id: 50 */
        uint8_t l_164 = 255UL;
        int32_t l_165 = (-2L);
        int32_t *l_166 = &l_135[0][1][1];
        int16_t l_179 = 0L;
        l_133 &= (1UL > (safe_rshift_func_int64_t_s_s((l_164 & ((*l_166) = l_165)), ((!((((l_168 != &l_164) != (safe_add_func_uint8_t_u_u((((~((-8L) < 1UL)) && (safe_mul_func_uint8_t_u_u((safe_sub_func_uint32_t_u_u((+((p_77 > ((((((g_126[0][1][0] = ((l_177 , g_45[2][1][3]) <= 0x63L)) , l_178) == (*g_73)) != 65535UL) > l_178) | g_3)) >= l_179)), 0xEE7814DCL)), g_3))) <= g_45[4][2][0]), 0x5DL))) , (*g_73)) < p_75)) ^ p_75))));
    }
    if ((((&l_151 == l_180) != (safe_div_func_uint32_t_u_u(((*l_151) = (((g_107 &= 0xCDL) ^ (safe_rshift_func_int32_t_s_u(((*l_206) = ((0x57E3DCAB47AAE73FLL || (+(safe_add_func_int16_t_s_s(((safe_rshift_func_uint16_t_u_s((g_205 ^= (((safe_mul_func_uint32_t_u_u((safe_mod_func_int32_t_s_s(((*l_204) = (((l_131[7] != &g_132) != (safe_rshift_func_uint32_t_u_s((safe_mod_func_int8_t_s_s((-10L), (safe_mul_func_uint64_t_u_u((((safe_rshift_func_int64_t_s_u(((safe_lshift_func_uint16_t_u_s(((l_157 != (((1L != (*p_78)) && 0xB5L) , (void*)0)) <= 0x0568L), g_126[0][1][0])) != 0xE732L), 63)) >= l_135[0][3][1]) , p_75), g_57[1][0])))), (*p_78)))) , 0xF0C3EE06L)), (**p_76))), g_142)) & g_9) && p_75)), 0)) , g_142), 7UL)))) , (**g_72))), 22))) <= 0x0666L)), 0xF079731EL))) || p_75))
    { /* block id: 60 */
        (*l_204) = (~(safe_sub_func_uint16_t_u_u(0x9E03L, p_77)));
        (*l_204) = 0xFD04AB98L;
    }
    else
    { /* block id: 63 */
        int32_t l_266 = 8L;
        uint16_t l_267[6][9] = {{1UL,0x8327L,0x0ABCL,0x4C37L,0x7C6CL,0x8834L,65533UL,0xC8FBL,0x676BL},{65532UL,1UL,65535UL,0xC8FBL,0xC8FBL,65535UL,1UL,65532UL,65531UL},{0UL,0x21E0L,65532UL,0xC8FBL,0xFF42L,65531UL,6UL,0x8327L,0x8834L},{65531UL,0x0C33L,0x8834L,0x4C37L,0UL,0x4C37L,0x8834L,0x0C33L,65531UL},{65533UL,0x4C37L,0xFF42L,0x7C6CL,0UL,6UL,0x21E0L,65535UL,0x676BL},{0x8327L,65535UL,0x7C6CL,65535UL,0xFF42L,0xFF42L,65535UL,0x7C6CL,65535UL}};
        int i, j;
        for (p_77 = 0; (p_77 <= 3); p_77 += 1)
        { /* block id: 66 */
            uint64_t *l_214[7][5][1] = {{{&g_215},{(void*)0},{&g_215},{(void*)0},{&g_215}},{{&g_215},{&g_215},{(void*)0},{&g_215},{(void*)0}},{{&g_215},{&g_215},{&g_215},{(void*)0},{&g_215}},{{(void*)0},{&g_215},{&g_215},{&g_215},{(void*)0}},{{&g_215},{(void*)0},{&g_215},{&g_215},{&g_215}},{{(void*)0},{&g_215},{(void*)0},{&g_215},{&g_215}},{{&g_215},{(void*)0},{&g_215},{(void*)0},{&g_215}}};
            int32_t l_216 = (-1L);
            int32_t l_217 = 0x27D05EB3L;
            uint32_t *l_219 = &g_142;
            uint32_t **l_218 = &l_219;
            int i, j, k;
            (*p_76) = &l_133;
            (*l_206) = (p_77 , ((&g_45[4][2][3] != ((*l_218) = func_37(((safe_add_func_uint8_t_u_u((((safe_mul_func_int32_t_s_s(((l_216 = 0x9EC2880661F00AFDLL) <= (l_217 = (g_24[2][4][1] , 0xA6FBB8838B9C5434LL))), ((p_75 & g_126[0][4][0]) , p_77))) ^ 0x0F59L) && 0xBB34E193L), g_45[3][4][3])) & 1UL), g_205, g_49[0][4], g_49[2][1], (**p_76)))) , (**g_72)));
            for (l_133 = 3; (l_133 >= 0); l_133 -= 1)
            { /* block id: 74 */
                uint8_t *l_238 = &g_24[0][6][0];
                int32_t l_240 = 0x3A8C5079L;
                int32_t l_245 = 0x73E7C291L;
                uint32_t l_248[10][8] = {{1UL,1UL,2UL,1UL,0x2BDC2A12L,0x33866937L,8UL,8UL},{0x33866937L,1UL,1UL,1UL,1UL,0x33866937L,0UL,8UL},{1UL,1UL,2UL,1UL,0x2BDC2A12L,0x33866937L,8UL,8UL},{0x33866937L,1UL,1UL,1UL,1UL,0x33866937L,0UL,8UL},{1UL,1UL,2UL,1UL,0x2BDC2A12L,0x33866937L,8UL,8UL},{0x33866937L,1UL,1UL,1UL,1UL,0x33866937L,0UL,8UL},{1UL,1UL,2UL,1UL,0x2BDC2A12L,0x33866937L,8UL,8UL},{0x33866937L,1UL,1UL,1UL,1UL,0x33866937L,0UL,8UL},{1UL,1UL,2UL,1UL,0x2BDC2A12L,0x33866937L,8UL,8UL},{0x33866937L,1UL,1UL,1UL,1UL,0x33866937L,0UL,8UL}};
                int8_t l_254 = 1L;
                uint32_t **l_257 = &l_131[2];
                int16_t *l_258 = &l_134[2][1];
                uint8_t **l_263 = &l_238;
                uint8_t ***l_262 = &l_263;
                uint8_t **l_265 = (void*)0;
                uint8_t ***l_264 = &l_265;
                int i, j;
                (*l_206) = (**p_76);
                for (g_102 = 0; (g_102 >= 0); g_102 -= 1)
                { /* block id: 78 */
                    uint8_t **l_239 = &l_238;
                    int8_t *l_246 = &g_107;
                    int32_t *l_247 = &l_122;
                    int32_t *l_249[9] = {&l_217,&l_217,&l_217,&l_217,&l_217,&l_217,&l_217,&l_217,&l_217};
                    int i;
                    for (g_142 = 0; (g_142 <= 0); g_142 += 1)
                    { /* block id: 81 */
                        int i, j, k;
                        (*l_206) = ((g_126[g_102][(l_133 + 5)][g_102] ^ (safe_lshift_func_int8_t_s_s(((~(safe_sub_func_int16_t_s_s(0x6BCAL, 65526UL))) != l_216), 5))) , (*p_78));
                    }
                    g_250 ^= (safe_add_func_int64_t_s_s((safe_div_func_int8_t_s_s(((-8L) != 0x6DL), (safe_mul_func_int8_t_s_s((g_45[5][1][1] > (((+((safe_lshift_func_uint32_t_u_s(g_57[4][0], ((*l_247) &= (((safe_rshift_func_uint32_t_u_s((((*l_246) = ((((((safe_add_func_uint64_t_u_u((l_240 = (((*l_239) = l_238) != &l_177)), ((*l_204) = (safe_div_func_int32_t_s_s((safe_div_func_uint8_t_u_u(g_45[3][2][0], (((l_216 != (-4L)) , g_102) , p_77))), g_45[0][4][0]))))) , (*l_206)) ^ g_49[0][4]) <= l_245) <= 18446744073709551615UL) & (-7L))) , 0x2D0E7BC4L), (**p_76))) != 0xE4472D263616B983LL) , l_216)))) || 0xDCL)) <= l_248[9][2]) , (*l_204))), p_75)))), p_77));
                }
                (*p_76) = func_37(((((+p_77) , 7UL) && (safe_sub_func_int64_t_s_s(((l_216 = l_254) & ((((*l_257) = p_78) == p_78) < ((((*l_258) = p_75) == ((+((safe_add_func_int64_t_s_s(((((&l_168 == ((*l_264) = ((*l_262) = &l_238))) , ((0L | 0x8B19DD57L) <= 6UL)) , l_266) , (-9L)), (-1L))) < 0xA7L)) != 0xB2EBL)) >= g_24[0][0][1]))), 0x42701AC507ADD0CALL))) < p_75), l_267[4][3], g_107, g_8, (**g_72));
                for (l_266 = 0; (l_266 <= 0); l_266 += 1)
                { /* block id: 99 */
                    int i, j, k;
                    return g_126[l_266][l_266][l_266];
                }
            }
        }
    }
    g_271 = l_268;
    (*p_76) = &l_133;
    return (*p_78);
}


/* ------------------------------------------ */
/* 
 * reads : g_73 g_57 g_102 g_9 g_107 g_49 g_24 g_72 g_3
 * writes: g_107 g_24 g_49
 */
static int32_t ** func_79(uint8_t  p_80, int32_t ** p_81, int32_t * p_82, uint64_t  p_83, uint32_t  p_84)
{ /* block id: 31 */
    uint16_t l_88 = 0x5063L;
    int64_t *l_101[8][5] = {{&g_102,(void*)0,&g_102,(void*)0,&g_102},{&g_102,&g_102,&g_102,&g_102,&g_102},{&g_102,(void*)0,&g_102,(void*)0,&g_102},{&g_102,&g_102,&g_102,&g_102,&g_102},{&g_102,(void*)0,&g_102,(void*)0,&g_102},{&g_102,&g_102,&g_102,&g_102,&g_102},{&g_102,(void*)0,&g_102,(void*)0,&g_102},{&g_102,&g_102,&g_102,&g_102,&g_102}};
    int16_t l_103 = 7L;
    uint16_t *l_104 = (void*)0;
    int32_t l_105 = (-3L);
    int8_t *l_106 = &g_107;
    uint8_t *l_108 = &g_24[0][3][1];
    uint32_t l_109 = 18446744073709551615UL;
    int32_t *l_110[9][2][7] = {{{&l_105,&g_49[0][4],&l_105,&g_57[0][3],&g_3,&g_57[0][3],&l_105},{&g_57[4][4],&g_57[4][4],&g_3,&g_9,&g_3,&g_57[4][4],&g_3}},{{&g_57[3][0],&g_49[0][4],&l_105,&g_57[0][3],&l_105,&g_57[0][3],&l_105},{&g_57[4][4],(void*)0,&g_3,&g_57[4][4],&g_3,&g_9,&g_3}},{{&l_105,&g_49[0][4],&l_105,&g_57[0][3],&g_3,&g_57[0][3],&l_105},{&g_57[4][4],&g_57[4][4],&g_3,&g_9,&g_3,&g_57[4][4],&g_3}},{{&g_57[3][0],&g_49[0][4],&l_105,&g_57[0][3],&l_105,&g_57[0][3],&l_105},{&g_57[4][4],(void*)0,&g_3,&g_57[4][4],&g_3,&g_9,&g_3}},{{&l_105,&g_49[0][4],&l_105,&g_57[0][3],&g_3,&g_57[0][3],&l_105},{&g_57[4][4],&g_57[4][4],&g_3,&g_9,&g_3,&g_57[4][4],&g_3}},{{&g_57[3][0],&g_49[0][4],&l_105,&g_57[0][3],&l_105,&g_57[0][3],&l_105},{&g_57[4][4],(void*)0,&g_3,&g_57[4][4],&g_3,&g_9,&g_3}},{{&l_105,&g_49[0][4],&l_105,&g_57[0][3],&g_3,&g_57[0][3],&l_105},{&g_57[4][4],&g_57[4][4],&g_3,&g_9,&g_3,&g_57[4][4],&g_3}},{{&g_57[3][0],&g_49[0][4],&l_105,&g_57[0][3],&l_105,&g_57[0][3],&l_105},{&g_57[4][4],(void*)0,&g_3,&g_57[4][4],&g_3,&g_9,&g_3}},{{&l_105,&g_49[0][4],&l_105,&g_57[0][3],&g_3,&g_57[0][3],&l_105},{&g_57[4][4],&g_57[4][4],&g_3,&g_9,&g_3,&g_57[4][4],&g_3}}};
    int i, j, k;
    l_88++;
    g_49[0][4] = func_91(((&p_82 != ((safe_lshift_func_uint16_t_u_s(l_88, (safe_sub_func_int32_t_s_s((**p_81), (safe_sub_func_int32_t_s_s(((p_84 ^ (l_103 = 0xE064424CFB0C79A4LL)) || (((((((*l_108) = ((l_105 = g_102) , (g_9 | ((*l_106) &= 0xF4L)))) || ((&l_88 == &l_88) || g_49[1][4])) , l_109) && 0x28BFL) , g_24[2][7][0]) <= l_103)), l_109)))))) , (void*)0)) ^ p_84), g_57[1][0], l_88);
    return &g_73;
}


/* ------------------------------------------ */
/* 
 * reads : g_72 g_73 g_57 g_3
 * writes:
 */
static int32_t  func_91(int16_t  p_92, uint8_t  p_93, uint32_t  p_94)
{ /* block id: 37 */
    return (**g_72);
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    int i, j, k;
    int print_hash_value = 0;
    if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
    platform_main_begin();
    crc32_gentab();
    func_1();
    for (i = 0; i < 8; i++)
    {
        transparent_crc(g_2[i], "g_2[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_3, "g_3", print_hash_value);
    transparent_crc(g_6, "g_6", print_hash_value);
    transparent_crc(g_7, "g_7", print_hash_value);
    transparent_crc(g_8, "g_8", print_hash_value);
    transparent_crc(g_9, "g_9", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 9; j++)
        {
            for (k = 0; k < 2; k++)
            {
                transparent_crc(g_24[i][j][k], "g_24[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    for (i = 0; i < 6; i++)
    {
        for (j = 0; j < 7; j++)
        {
            for (k = 0; k < 4; k++)
            {
                transparent_crc(g_45[i][j][k], "g_45[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 6; j++)
        {
            transparent_crc(g_49[i][j], "g_49[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    for (i = 0; i < 5; i++)
    {
        for (j = 0; j < 5; j++)
        {
            transparent_crc(g_57[i][j], "g_57[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_102, "g_102", print_hash_value);
    transparent_crc(g_107, "g_107", print_hash_value);
    for (i = 0; i < 2; i++)
    {
        for (j = 0; j < 10; j++)
        {
            for (k = 0; k < 1; k++)
            {
                transparent_crc(g_126[i][j][k], "g_126[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_132, "g_132", print_hash_value);
    transparent_crc(g_142, "g_142", print_hash_value);
    transparent_crc(g_161, "g_161", print_hash_value);
    transparent_crc(g_205, "g_205", print_hash_value);
    transparent_crc(g_215, "g_215", print_hash_value);
    transparent_crc(g_250, "g_250", print_hash_value);
    transparent_crc(g_269.f0, "g_269.f0", print_hash_value);
    transparent_crc(g_269.f1, "g_269.f1", print_hash_value);
    transparent_crc(g_269.f2, "g_269.f2", print_hash_value);
    transparent_crc(g_269.f3, "g_269.f3", print_hash_value);
    transparent_crc(g_269.f4, "g_269.f4", print_hash_value);
    transparent_crc(g_269.f5, "g_269.f5", print_hash_value);
    transparent_crc(g_269.f6, "g_269.f6", print_hash_value);
    transparent_crc(g_269.f7, "g_269.f7", print_hash_value);
    transparent_crc(g_272.f0, "g_272.f0", print_hash_value);
    transparent_crc(g_272.f1, "g_272.f1", print_hash_value);
    transparent_crc(g_272.f2, "g_272.f2", print_hash_value);
    transparent_crc(g_272.f3, "g_272.f3", print_hash_value);
    transparent_crc(g_272.f4, "g_272.f4", print_hash_value);
    transparent_crc(g_272.f5, "g_272.f5", print_hash_value);
    transparent_crc(g_272.f6, "g_272.f6", print_hash_value);
    transparent_crc(g_272.f7, "g_272.f7", print_hash_value);
    transparent_crc(g_279, "g_279", print_hash_value);
    transparent_crc(g_314, "g_314", print_hash_value);
    transparent_crc(g_337.f0, "g_337.f0", print_hash_value);
    transparent_crc(g_337.f1, "g_337.f1", print_hash_value);
    transparent_crc(g_337.f2, "g_337.f2", print_hash_value);
    transparent_crc(g_337.f3, "g_337.f3", print_hash_value);
    transparent_crc(g_337.f4, "g_337.f4", print_hash_value);
    transparent_crc(g_337.f5, "g_337.f5", print_hash_value);
    transparent_crc(g_337.f6, "g_337.f6", print_hash_value);
    transparent_crc(g_337.f7, "g_337.f7", print_hash_value);
    transparent_crc(g_350, "g_350", print_hash_value);
    transparent_crc(g_358, "g_358", print_hash_value);
    transparent_crc(g_360, "g_360", print_hash_value);
    transparent_crc(g_388, "g_388", print_hash_value);
    transparent_crc(g_404.f0, "g_404.f0", print_hash_value);
    transparent_crc(g_404.f1, "g_404.f1", print_hash_value);
    transparent_crc(g_404.f2, "g_404.f2", print_hash_value);
    transparent_crc(g_404.f3, "g_404.f3", print_hash_value);
    transparent_crc(g_404.f4, "g_404.f4", print_hash_value);
    transparent_crc(g_404.f5, "g_404.f5", print_hash_value);
    transparent_crc(g_404.f6, "g_404.f6", print_hash_value);
    transparent_crc(g_404.f7, "g_404.f7", print_hash_value);
    transparent_crc(g_461, "g_461", print_hash_value);
    for (i = 0; i < 5; i++)
    {
        for (j = 0; j < 7; j++)
        {
            for (k = 0; k < 2; k++)
            {
                transparent_crc(g_488[i][j][k], "g_488[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_495, "g_495", print_hash_value);
    transparent_crc(g_523, "g_523", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        transparent_crc(g_541[i].f0, "g_541[i].f0", print_hash_value);
        transparent_crc(g_541[i].f1, "g_541[i].f1", print_hash_value);
        transparent_crc(g_541[i].f2, "g_541[i].f2", print_hash_value);
        transparent_crc(g_541[i].f3, "g_541[i].f3", print_hash_value);
        transparent_crc(g_541[i].f4, "g_541[i].f4", print_hash_value);
        transparent_crc(g_541[i].f5, "g_541[i].f5", print_hash_value);
        transparent_crc(g_541[i].f6, "g_541[i].f6", print_hash_value);
        transparent_crc(g_541[i].f7, "g_541[i].f7", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_543.f0, "g_543.f0", print_hash_value);
    transparent_crc(g_543.f1, "g_543.f1", print_hash_value);
    transparent_crc(g_543.f2, "g_543.f2", print_hash_value);
    transparent_crc(g_543.f3, "g_543.f3", print_hash_value);
    transparent_crc(g_543.f4, "g_543.f4", print_hash_value);
    transparent_crc(g_543.f5, "g_543.f5", print_hash_value);
    transparent_crc(g_543.f6, "g_543.f6", print_hash_value);
    transparent_crc(g_543.f7, "g_543.f7", print_hash_value);
    transparent_crc(g_558, "g_558", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        transparent_crc(g_725[i], "g_725[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_730.f0, "g_730.f0", print_hash_value);
    transparent_crc(g_730.f1, "g_730.f1", print_hash_value);
    transparent_crc(g_730.f2, "g_730.f2", print_hash_value);
    transparent_crc(g_730.f3, "g_730.f3", print_hash_value);
    transparent_crc(g_730.f4, "g_730.f4", print_hash_value);
    transparent_crc(g_730.f5, "g_730.f5", print_hash_value);
    transparent_crc(g_730.f6, "g_730.f6", print_hash_value);
    transparent_crc(g_730.f7, "g_730.f7", print_hash_value);
    transparent_crc(g_733.f0, "g_733.f0", print_hash_value);
    transparent_crc(g_733.f1, "g_733.f1", print_hash_value);
    transparent_crc(g_733.f2, "g_733.f2", print_hash_value);
    transparent_crc(g_733.f3, "g_733.f3", print_hash_value);
    transparent_crc(g_733.f4, "g_733.f4", print_hash_value);
    transparent_crc(g_733.f5, "g_733.f5", print_hash_value);
    transparent_crc(g_733.f6, "g_733.f6", print_hash_value);
    transparent_crc(g_733.f7, "g_733.f7", print_hash_value);
    transparent_crc(g_892, "g_892", print_hash_value);
    for (i = 0; i < 10; i++)
    {
        for (j = 0; j < 9; j++)
        {
            transparent_crc(g_897[i][j].f0, "g_897[i][j].f0", print_hash_value);
            transparent_crc(g_897[i][j].f1, "g_897[i][j].f1", print_hash_value);
            transparent_crc(g_897[i][j].f2, "g_897[i][j].f2", print_hash_value);
            transparent_crc(g_897[i][j].f3, "g_897[i][j].f3", print_hash_value);
            transparent_crc(g_897[i][j].f4, "g_897[i][j].f4", print_hash_value);
            transparent_crc(g_897[i][j].f5, "g_897[i][j].f5", print_hash_value);
            transparent_crc(g_897[i][j].f6, "g_897[i][j].f6", print_hash_value);
            transparent_crc(g_897[i][j].f7, "g_897[i][j].f7", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_994, "g_994", print_hash_value);
    transparent_crc(g_1003, "g_1003", print_hash_value);
    transparent_crc(g_1005, "g_1005", print_hash_value);
    transparent_crc(g_1012, "g_1012", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        transparent_crc(g_1276[i], "g_1276[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1294, "g_1294", print_hash_value);
    for (i = 0; i < 10; i++)
    {
        transparent_crc(g_1296[i], "g_1296[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1410, "g_1410", print_hash_value);
    transparent_crc(g_1591, "g_1591", print_hash_value);
    transparent_crc(g_1624, "g_1624", print_hash_value);
    transparent_crc(g_1684, "g_1684", print_hash_value);
    transparent_crc(g_1836.f0, "g_1836.f0", print_hash_value);
    transparent_crc(g_1836.f1, "g_1836.f1", print_hash_value);
    transparent_crc(g_1836.f2, "g_1836.f2", print_hash_value);
    transparent_crc(g_1836.f3, "g_1836.f3", print_hash_value);
    transparent_crc(g_1836.f4, "g_1836.f4", print_hash_value);
    transparent_crc(g_1836.f5, "g_1836.f5", print_hash_value);
    transparent_crc(g_1836.f6, "g_1836.f6", print_hash_value);
    transparent_crc(g_1836.f7, "g_1836.f7", print_hash_value);
    transparent_crc(g_1907, "g_1907", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        transparent_crc(g_1936[i], "g_1936[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1938, "g_1938", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        transparent_crc(g_2010[i], "g_2010[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 10; i++)
    {
        for (j = 0; j < 7; j++)
        {
            transparent_crc(g_2050[i][j].f0, "g_2050[i][j].f0", print_hash_value);
            transparent_crc(g_2050[i][j].f1, "g_2050[i][j].f1", print_hash_value);
            transparent_crc(g_2050[i][j].f2, "g_2050[i][j].f2", print_hash_value);
            transparent_crc(g_2050[i][j].f3, "g_2050[i][j].f3", print_hash_value);
            transparent_crc(g_2050[i][j].f4, "g_2050[i][j].f4", print_hash_value);
            transparent_crc(g_2050[i][j].f5, "g_2050[i][j].f5", print_hash_value);
            transparent_crc(g_2050[i][j].f6, "g_2050[i][j].f6", print_hash_value);
            transparent_crc(g_2050[i][j].f7, "g_2050[i][j].f7", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_2080, "g_2080", print_hash_value);
    transparent_crc(g_2167, "g_2167", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        for (j = 0; j < 10; j++)
        {
            transparent_crc(g_2207[i][j], "g_2207[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_2354, "g_2354", print_hash_value);
    transparent_crc(g_2475, "g_2475", print_hash_value);
    for (i = 0; i < 10; i++)
    {
        for (j = 0; j < 8; j++)
        {
            transparent_crc(g_2924[i][j], "g_2924[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_3106, "g_3106", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        transparent_crc(g_3376[i].f0, "g_3376[i].f0", print_hash_value);
        transparent_crc(g_3376[i].f1, "g_3376[i].f1", print_hash_value);
        transparent_crc(g_3376[i].f2, "g_3376[i].f2", print_hash_value);
        transparent_crc(g_3376[i].f3, "g_3376[i].f3", print_hash_value);
        transparent_crc(g_3376[i].f4, "g_3376[i].f4", print_hash_value);
        transparent_crc(g_3376[i].f5, "g_3376[i].f5", print_hash_value);
        transparent_crc(g_3376[i].f6, "g_3376[i].f6", print_hash_value);
        transparent_crc(g_3376[i].f7, "g_3376[i].f7", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_3377.f0, "g_3377.f0", print_hash_value);
    transparent_crc(g_3377.f1, "g_3377.f1", print_hash_value);
    transparent_crc(g_3377.f2, "g_3377.f2", print_hash_value);
    transparent_crc(g_3377.f3, "g_3377.f3", print_hash_value);
    transparent_crc(g_3377.f4, "g_3377.f4", print_hash_value);
    transparent_crc(g_3377.f5, "g_3377.f5", print_hash_value);
    transparent_crc(g_3377.f6, "g_3377.f6", print_hash_value);
    transparent_crc(g_3377.f7, "g_3377.f7", print_hash_value);
    transparent_crc(g_3378.f0, "g_3378.f0", print_hash_value);
    transparent_crc(g_3378.f1, "g_3378.f1", print_hash_value);
    transparent_crc(g_3378.f2, "g_3378.f2", print_hash_value);
    transparent_crc(g_3378.f3, "g_3378.f3", print_hash_value);
    transparent_crc(g_3378.f4, "g_3378.f4", print_hash_value);
    transparent_crc(g_3378.f5, "g_3378.f5", print_hash_value);
    transparent_crc(g_3378.f6, "g_3378.f6", print_hash_value);
    transparent_crc(g_3378.f7, "g_3378.f7", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 8; j++)
        {
            for (k = 0; k < 4; k++)
            {
                transparent_crc(g_3379[i][j][k].f0, "g_3379[i][j][k].f0", print_hash_value);
                transparent_crc(g_3379[i][j][k].f1, "g_3379[i][j][k].f1", print_hash_value);
                transparent_crc(g_3379[i][j][k].f2, "g_3379[i][j][k].f2", print_hash_value);
                transparent_crc(g_3379[i][j][k].f3, "g_3379[i][j][k].f3", print_hash_value);
                transparent_crc(g_3379[i][j][k].f4, "g_3379[i][j][k].f4", print_hash_value);
                transparent_crc(g_3379[i][j][k].f5, "g_3379[i][j][k].f5", print_hash_value);
                transparent_crc(g_3379[i][j][k].f6, "g_3379[i][j][k].f6", print_hash_value);
                transparent_crc(g_3379[i][j][k].f7, "g_3379[i][j][k].f7", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    for (i = 0; i < 3; i++)
    {
        transparent_crc(g_3380[i].f0, "g_3380[i].f0", print_hash_value);
        transparent_crc(g_3380[i].f1, "g_3380[i].f1", print_hash_value);
        transparent_crc(g_3380[i].f2, "g_3380[i].f2", print_hash_value);
        transparent_crc(g_3380[i].f3, "g_3380[i].f3", print_hash_value);
        transparent_crc(g_3380[i].f4, "g_3380[i].f4", print_hash_value);
        transparent_crc(g_3380[i].f5, "g_3380[i].f5", print_hash_value);
        transparent_crc(g_3380[i].f6, "g_3380[i].f6", print_hash_value);
        transparent_crc(g_3380[i].f7, "g_3380[i].f7", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 2; i++)
    {
        transparent_crc(g_3381[i].f0, "g_3381[i].f0", print_hash_value);
        transparent_crc(g_3381[i].f1, "g_3381[i].f1", print_hash_value);
        transparent_crc(g_3381[i].f2, "g_3381[i].f2", print_hash_value);
        transparent_crc(g_3381[i].f3, "g_3381[i].f3", print_hash_value);
        transparent_crc(g_3381[i].f4, "g_3381[i].f4", print_hash_value);
        transparent_crc(g_3381[i].f5, "g_3381[i].f5", print_hash_value);
        transparent_crc(g_3381[i].f6, "g_3381[i].f6", print_hash_value);
        transparent_crc(g_3381[i].f7, "g_3381[i].f7", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_3382.f0, "g_3382.f0", print_hash_value);
    transparent_crc(g_3382.f1, "g_3382.f1", print_hash_value);
    transparent_crc(g_3382.f2, "g_3382.f2", print_hash_value);
    transparent_crc(g_3382.f3, "g_3382.f3", print_hash_value);
    transparent_crc(g_3382.f4, "g_3382.f4", print_hash_value);
    transparent_crc(g_3382.f5, "g_3382.f5", print_hash_value);
    transparent_crc(g_3382.f6, "g_3382.f6", print_hash_value);
    transparent_crc(g_3382.f7, "g_3382.f7", print_hash_value);
    transparent_crc(g_3383.f0, "g_3383.f0", print_hash_value);
    transparent_crc(g_3383.f1, "g_3383.f1", print_hash_value);
    transparent_crc(g_3383.f2, "g_3383.f2", print_hash_value);
    transparent_crc(g_3383.f3, "g_3383.f3", print_hash_value);
    transparent_crc(g_3383.f4, "g_3383.f4", print_hash_value);
    transparent_crc(g_3383.f5, "g_3383.f5", print_hash_value);
    transparent_crc(g_3383.f6, "g_3383.f6", print_hash_value);
    transparent_crc(g_3383.f7, "g_3383.f7", print_hash_value);
    transparent_crc(g_3384.f0, "g_3384.f0", print_hash_value);
    transparent_crc(g_3384.f1, "g_3384.f1", print_hash_value);
    transparent_crc(g_3384.f2, "g_3384.f2", print_hash_value);
    transparent_crc(g_3384.f3, "g_3384.f3", print_hash_value);
    transparent_crc(g_3384.f4, "g_3384.f4", print_hash_value);
    transparent_crc(g_3384.f5, "g_3384.f5", print_hash_value);
    transparent_crc(g_3384.f6, "g_3384.f6", print_hash_value);
    transparent_crc(g_3384.f7, "g_3384.f7", print_hash_value);
    transparent_crc(g_3509.f0, "g_3509.f0", print_hash_value);
    transparent_crc(g_3509.f1, "g_3509.f1", print_hash_value);
    transparent_crc(g_3509.f2, "g_3509.f2", print_hash_value);
    transparent_crc(g_3509.f3, "g_3509.f3", print_hash_value);
    transparent_crc(g_3509.f4, "g_3509.f4", print_hash_value);
    transparent_crc(g_3509.f5, "g_3509.f5", print_hash_value);
    transparent_crc(g_3509.f6, "g_3509.f6", print_hash_value);
    transparent_crc(g_3509.f7, "g_3509.f7", print_hash_value);
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
    return 0;
}

/************************ statistics *************************
XXX max struct depth: 0
breakdown:
   depth: 0, occurrence: 829
XXX total union variables: 0

XXX non-zero bitfields defined in structs: 6
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 0
XXX volatile bitfields defined in structs: 3
XXX structs with bitfields in the program: 15
breakdown:
   indirect level: 0, occurrence: 0
   indirect level: 1, occurrence: 13
   indirect level: 2, occurrence: 2
XXX full-bitfields structs in the program: 0
breakdown:
XXX times a bitfields struct's address is taken: 22
XXX times a bitfields struct on LHS: 0
XXX times a bitfields struct on RHS: 1
XXX times a single bitfield on LHS: 5
XXX times a single bitfield on RHS: 120

XXX max expression depth: 43
breakdown:
   depth: 1, occurrence: 386
   depth: 2, occurrence: 92
   depth: 3, occurrence: 10
   depth: 4, occurrence: 9
   depth: 5, occurrence: 3
   depth: 6, occurrence: 2
   depth: 7, occurrence: 1
   depth: 8, occurrence: 2
   depth: 10, occurrence: 1
   depth: 11, occurrence: 1
   depth: 12, occurrence: 1
   depth: 13, occurrence: 4
   depth: 14, occurrence: 1
   depth: 15, occurrence: 1
   depth: 16, occurrence: 5
   depth: 17, occurrence: 2
   depth: 18, occurrence: 4
   depth: 19, occurrence: 4
   depth: 20, occurrence: 4
   depth: 21, occurrence: 4
   depth: 22, occurrence: 5
   depth: 23, occurrence: 3
   depth: 24, occurrence: 9
   depth: 25, occurrence: 6
   depth: 26, occurrence: 4
   depth: 27, occurrence: 4
   depth: 28, occurrence: 3
   depth: 29, occurrence: 5
   depth: 30, occurrence: 5
   depth: 31, occurrence: 5
   depth: 32, occurrence: 3
   depth: 33, occurrence: 3
   depth: 34, occurrence: 2
   depth: 35, occurrence: 4
   depth: 37, occurrence: 1
   depth: 38, occurrence: 2
   depth: 40, occurrence: 1
   depth: 41, occurrence: 1
   depth: 42, occurrence: 1
   depth: 43, occurrence: 1

XXX total number of pointers: 673

XXX times a variable address is taken: 1950
XXX times a pointer is dereferenced on RHS: 412
breakdown:
   depth: 1, occurrence: 282
   depth: 2, occurrence: 67
   depth: 3, occurrence: 29
   depth: 4, occurrence: 34
XXX times a pointer is dereferenced on LHS: 431
breakdown:
   depth: 1, occurrence: 346
   depth: 2, occurrence: 37
   depth: 3, occurrence: 28
   depth: 4, occurrence: 19
   depth: 5, occurrence: 1
XXX times a pointer is compared with null: 78
XXX times a pointer is compared with address of another variable: 19
XXX times a pointer is compared with another pointer: 18
XXX times a pointer is qualified to be dereferenced: 13027

XXX max dereference level: 5
breakdown:
   level: 0, occurrence: 0
   level: 1, occurrence: 1682
   level: 2, occurrence: 721
   level: 3, occurrence: 357
   level: 4, occurrence: 267
   level: 5, occurrence: 44
XXX number of pointers point to pointers: 299
XXX number of pointers point to scalars: 361
XXX number of pointers point to structs: 13
XXX percent of pointers has null in alias set: 29.1
XXX average alias set size: 1.42

XXX times a non-volatile is read: 3229
XXX times a non-volatile is write: 1497
XXX times a volatile is read: 3
XXX    times read thru a pointer: 1
XXX times a volatile is write: 1
XXX    times written thru a pointer: 0
XXX times a volatile is available for access: 39
XXX percentage of non-volatile access: 99.9

XXX forward jumps: 0
XXX backward jumps: 9

XXX stmts: 396
XXX max block depth: 5
breakdown:
   depth: 0, occurrence: 32
   depth: 1, occurrence: 25
   depth: 2, occurrence: 41
   depth: 3, occurrence: 68
   depth: 4, occurrence: 97
   depth: 5, occurrence: 133

XXX percentage a fresh-made variable is used: 14.3
XXX percentage an existing variable is used: 85.7
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
********************* end of statistics **********************/

